Welcome,
Guest
|
TOPIC: Compiled METIS 5.1.0 library for 64bit Windows
Compiled METIS 5.1.0 library for 64bit Windows 9 years 11 months ago #15217
|
Hello all,
I have successfully compiled the METIS 5.1.0 library for 64bit Windows using mingw64-4.8.3, and have been using it for some time with no problems. I attach it for others to test and use. Regards, Costas |
The administrator has disabled public write access.
|
Compiled METIS 5.1.0 library for 64bit Windows 6 years 5 months ago #30428
|
Hello,
How could i compile METIS actually? I have no idea why my console is getting this error: C:\opentelemac-mascaret\v7p2>compileTELEMAC.py Loading Options and Configurations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _____ ___ __ |___ | |__ \ /_ | __ __ _/ / _ __ ) | _ __ | | \ \ / / |_ _| | '_ \ / / | '__| | | \ V / / / | |_) | / /_ | | | | \_/ /_/ | .__/ |____||_| |_| | | |_| _ _ __ ___ __ ___ ___ _| || |_ /_ | / _ \ /_ | / _ \ / _ \ _ __ ___ __ __ |_ __ _| | || | | | | || | | || | | | | '__| / _ \\ \ / / _| || |_ | || | | | | || | | || | | | | | | __/ \ V / _ |_ __ _| | || |_| | | || |_| || |_| | |_| \___| \_/ (_) |_||_| |_| \___/ |_| \___/ \___/ ... parsing configuration file: C:\opentelemac-mascaret\v7p2\configs\systel_parallel_v7p2.cfg _ __ _ _ _ (_) / / | || | (_) __ __ _ _ __ __ _ / /_ | || |_ _ __ ___ _ __ _ \ \ /\ / /| || '_ \ / _` || '_ \ |__ _|| '_ ` _ \ | '_ \ | | \ V V / | || | | || (_| || (_) | | | | | | | | || |_) || | \_/\_/ |_||_| |_| \__, | \___/ |_| |_| |_| |_|| .__/ |_| __/ | | | |___/ |_| Scanning the source code for: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> configuration: wing64mpi +> root: C:\opentelemac-mascaret\v7p2 +> modules: system -dredgesim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling the program SPLITSEL and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program HOMERE_TOMAWAC and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program HOMERE_DAMOCLES and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program HOMERE_PARTEL and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program PARTEL_PRELIM and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program PARTEL_PARA and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library +> There is no need to create the associate executable Compiling the program HOMERE_API and dependents ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +> There is no need to compile any object +> There is no need to package any library Driving: gfortran -fconvert=big-endian -frecord-marker=4 -v -lm -o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\bin\api.exe api_handle_error.o api_instance_sis.o api_handle_var_sis.o api_instance_t2d.o api_handle_var_t2d.o api_run_t2d.o api_coupling.o api_run_sis.o api_interface.o api_run_cpl.o homere_api.o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\partel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\telemac2d\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\gretel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\waqtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\stbtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\sisyphe\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\tomawac\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\ad\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\nestor\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\bief\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\parallel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\hermes\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\damocles\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\special\homere_api.lib C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a -l gfortran -shared-libgcc Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: /home/ruben/mingw-w64/src/gcc/configure --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu --target=x86_64-w64-mingw32 --with-sysroot=/home/ruben/mingw-w64/mingw64mingw64/mingw64 --prefix=/home/ruben/mingw-w64/mingw64mingw64/mingw64 --with-gmp=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-mpfr=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-mpc=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-cloog=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --disable-cloog-version-check --with-isl=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --enable-cloog-backend=isl --with-host-libstdcxx='-static -lstdc++ -lm' --enable-shared --enable-static --enable-threads=win32 --enable-plugins --disable-multilib --enable-languages=c,lto,c++,objc,obj-c++,fortran,java --enable-libgomp --enable-fully-dynamic-string --enable-libstdcxx-time --disable-nls --disable-werror --enable-checking=release --with-gnu-as --with-gnu-ld --disable-win32-registry --disable-rpath --disable-werror --with-libiconv-prefix=/home/ruben/mingw-w64/prereq/x86_64-w64-mingw32/install --with-pkgversion=rubenvb-4.8.0 --with-bugurl=mingw-w64-public@lists.sourceforge.net CC= CFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' CXXFLAGS='-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' LDFLAGS= 'BOOT_CFLAGS=-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' 'BOOT_CXXFLAGS=-O2 -march=nocona -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer' BOOT_LDFLAGS= 'CFLAGS_FOR_TARGET= -O2 -march=nocona -mtune=core2 -fgraphite-identity -floop-interchange -floop-block -floop-parallelize-all' 'CXXFLAGS_FOR_TARGET= -O2 -march=nocona -mtune=core2 -fgraphite-identity -floop-interchange -floop-block -floop-parallelize-all' LDFLAGS_FOR_TARGET= Thread model: win32 gcc version 4.8.0 (rubenvb-4.8.0) Reading specs from c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../lib/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-fconvert=big-endian' '-frecord-marker=4' '-v' '-o' 'C:\opentelemac-mascaret\v7p2\builds\wing64mpi\bin\api.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.0/;c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ LIBRARY_PATH=c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/;c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../ COLLECT_GCC_OPTIONS='-fconvert=big-endian' '-frecord-marker=4' '-v' '-o' 'C:\opentelemac-mascaret\v7p2\builds\wing64mpi\bin\api.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64' c:/opentelemac-mascaret/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.0/collect2.exe --sysroot=c:\opentelemac-mascaret\mingw64\bin\../../mingw64 -m i386pep -Bdynamic -o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\bin\api.exe c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crtbegin.o -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0 -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../lib -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib -Lc:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../.. -lm api_handle_error.o api_instance_sis.o api_handle_var_sis.o api_instance_t2d.o api_handle_var_t2d.o api_run_t2d.o api_coupling.o api_run_sis.o api_interface.o api_run_cpl.o homere_api.o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\partel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\telemac2d\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\gretel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\waqtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\stbtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\sisyphe\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\tomawac\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\ad\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\nestor\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\bief\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\parallel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\hermes\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\damocles\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\special\homere_api.lib C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a -lgfortran -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lquadmath -lm -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/crtend.o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\partel\homere_api.lib(partitioner.o):partitioner.F:(.text+0x74b): undefined reference to `metis_partmeshdual_' collect2.exe: error: ld returned 1 exit status compileTELEMAC::main: +> creating executable: homere_api: |createExeFiles: something went wrong, I am not sure why (runcode=1). | |... The following command failed for the reason above (or below) |gfortran -fconvert=big-endian -frecord-marker=4 -v -lm -o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\bin\api.exe api_handle_error.o api_instance_sis.o api_handle_var_sis.o api_instance_t2d.o api_handle_var_t2d.o api_run_t2d.o api_coupling.o api_run_sis.o api_interface.o api_run_cpl.o homere_api.o C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\partel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\telemac2d\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\gretel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\waqtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\stbtel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\sisyphe\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\tomawac\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\ad\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\nestor\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\bief\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\parallel\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\hermes\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\damocles\homere_api.lib C:\opentelemac-mascaret\v7p2\builds\wing64mpi\lib\utils\special\homere_api.lib C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a |
The administrator has disabled public write access.
|
Compiled METIS 5.1.0 library for 64bit Windows 6 years 3 months ago #31182
|
Sorry for the late reply, I totally overlooked the notification.
METIS was built within the MSYS2 environment and required a few tricks. Costas |
The administrator has disabled public write access.
|
Compiled METIS 5.1.0 library for 64bit Windows 4 years 4 months ago #36340
|
Hi all,
Here is the windows installer for Metis 5.1.0 compiled with MSVC community edition on windows 10 pro. I could make a static library but not shared library. I would wonder if somebody has a an advise on building shared dlls for windows. Please also respond if it does not work. vihang bhatt |
The administrator has disabled public write access.
|
Moderators: borisb