[Trilinos-Users] [EXTERNAL] Build Zoltan in Windows

Hector E Barrios Molano hectorb at utexas.edu
Wed Jun 13 10:44:59 EDT 2018


Hi Karen,

I took out the building of Zoltan tests and examples. Now, after 
configuring with CMake and generating the NMake makefiles I got the 
following output:

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.


If I configure it the same in Linux it works without problems.

Thanks,

Hector

On 06/12/2018 06:51 PM, Devine, Karen D wrote:
>
> Hi, Hector.
>
>
> The dr_params_file.c is used only in our test-driver program. For you 
> to use Zoltan with your application, this test-driver is not needed. 
>  Only the library is needed.  In a linux build, the library 
> libzoltan.a is built before the driver is compiled.  Can you tell 
> whether the library has built?  If so, are you able to use it in your 
> application?
>
>
> Unfortunately, I do not have experience with Windows.  If the library 
> is not building correctly, I'll have to look for others with WIndows 
> expertise in our group.  So let me know whether or not you can proceed 
> without building the test driver.
>
>
> Thanks.
>
> Karen
>
>
> ------------------------------------------------------------------------
> *From:* Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf 
> of Hector E Barrios Molano <hectorb at utexas.edu>
> *Sent:* Tuesday, June 12, 2018 7:39 AM
> *To:* trilinos-users at trilinos.org
> *Subject:* [EXTERNAL] [Trilinos-Users] Build Zoltan in Windows
> 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/20180613/c3a6980f/attachment.html>


More information about the Trilinos-Users mailing list