[Trilinos-Users] Build Zoltan in Windows
Hector E Barrios Molano
hectorb at utexas.edu
Tue Jun 12 09:39:22 EDT 2018
Hi Trilinos developers,
I am trying to build zoltan in a windows environment. As per the user
guide I am using Trilinos source code and CMake.
I tried to use NMake generator without much luck. I hope you can give
some guidance on how to make it work.
As compilers I am using MS cl and Intel ifort, specifically the wrapped
versions provided by Intel MPI (2018) (mpicl.bat and mpiifort.bat).
When I use NMake makefiles these are my CMake changes:
Cache file:
CMND_PATH:FILEPATH=C:/cygwin64/bin/perl.exe
Zoltan_ENABLE_F90INTERFACE:BOOL=1
Zoltan_ENABLE_TESTS:STRING=ON
ParMETIS_INCLUDE_DIRS:PATH=C:/installed/parmetis/include
Trilinos_ENABLE_Zoltan2:STRING=
TPL_ENABLE_MPI:BOOL=1
TPL_ENABLE_METIS:STRING=OFF
TPL_ENABLE_ParMETIS:STRING=ON
Trilinos_ENABLE_Zoltan:STRING=ON
Zoltan_ENABLE_ParMETIS:BOOL=1
Trilinos_ENABLE_Fortran:BOOL=1
Zoltan_ENABLE_EXAMPLES:STRING=ON
ParMETIS_LIBRARY_DIRS:PATH=C:/installed/parmetis/lib
Zoltan_ENABLE_CPPDRIVER:BOOL=0
I try to compile with the generated makefile and it goes up to here:
[ 92%] Building C object
packages/zoltan/src/driver/CMakeFiles/zdrive.dir/dr_param_file.c.obj
mpicc.bat for the Intel(R) MPI Library 2018 Update 2 for Windows*
Copyright 2007-2018 Intel Corporation.
dr_param_file.c
C:\sources\trilinos-12.12.1-Source\packages\zoltan\src\driver\dr_param_file.c(263):
warning C4113: 'void (__cdecl *
)()' differs in parameter lists from 'ZOLTAN_VOID_FN (__cdecl *)'
C:\sources\trilinos-12.12.1-Source\packages\zoltan\src\driver\dr_param_file.c(268):
warning C4113: 'void (__cdecl *
)()' differs in parameter lists from 'ZOLTAN_VOID_FN (__cdecl *)'
C:\sources\trilinos-12.12.1-Source\packages\zoltan\src\driver\dr_param_file.c(273):
warning C4113: 'void (__cdecl *
)()' differs in parameter lists from 'ZOLTAN_VOID_FN (__cdecl *)'
[ 92%] Building C object
packages/zoltan/src/driver/CMakeFiles/zdrive.dir/order_test.c.obj
mpicc.bat for the Intel(R) MPI Library 2018 Update 2 for Windows*
Copyright 2007-2018 Intel Corporation.
order_test.c
NMAKE : fatal error U1073: don't know how to make
'packages\zoltan\src\zoltan.lib'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.14.2642
8\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.14.2642
8\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
Thank you very much for your help,
Hector
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20180612/48039450/attachment.html>
More information about the Trilinos-Users
mailing list