Hello,
I am trying to compile ARTEMIS with mumps, using libraries I compiled myself (mingw-w64, msmpi environment) and the two corrected files JMH has previously posted. However I am getting the following error:
--start-group H:\NET\PROGRAM_FILES\ope
ntelemac\v7p0r1\builds\hpc_core2\lib\utils\bief\homere_artemis.lib H:\NET\PROGRA
M_FILES\opentelemac\v7p0r1\builds\hpc_core2\lib\utils\damocles\homere_artemis.li
b H:\NET\PROGRAM_FILES\opentelemac\v7p0r1\builds\hpc_core2\lib\utils\parallel\ho
mere_artemis.lib H:\NET\PROGRAM_FILES\opentelemac\v7p0r1\builds\hpc_core2\lib\ut
ils\special\homere_artemis.lib \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opente
lemac\libraries\msmpi-6.0.12436.10\lib\libmsmpi.a -ldmumps -lmumps_common -lpord
\\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\openblas\libop
enblas.a \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\lapack
_3.5.0\liblapack.a \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\librar
ies\scalapack_2.0.2\libscalapack.a -lgfortran -lmingw32 -lgcc -lgcc_eh -lmoldnam
e -lmingwex -lmsvcrt -lquadmath -lm -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwe
x -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -l
gcc_eh -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64
-mingw32/5.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/m
sys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/crtend.o
H:\NET\PROGRAM_FILES\opentelemac\v7p0r1\builds\hpc_core2\lib\utils\bief\homere_a
rtemis.lib(pre4_mumps.o):pre4_mumps.F:(.text+0x680): undefined reference to `sol
ve_mumps_par_'
collect2.exe: error: ld returned 1 exit status
My cfg file:
#
cmd_obj: x86_64-w64-mingw32-gfortran -march=core2 -O3 -c -fconvert=big-endian -frecord-marker=4 -fno-range-check -ffixed-line-length-132 <mods> <incs> <f95name> -DHAVE_MPI -DHAVE_MUMPS
cmd_lib: ar cru <libname> <objs>
cmd_exe: x86_64-w64-mingw32-gfortran -march=core2 -O3 -v -fconvert=big-endian -frecord-marker=4 -static -o <exename> <objs> -Xlinker --start-group <libs>
#--end-group
#
mods_all: -I <config>
#
incs_bief: -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\msmpi-6.0.12436.10\inc -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\mumps_5.0.1\include
incs_parallel: -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\msmpi-6.0.12436.10\inc -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\mumps_5.0.1\include
incs_special: -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\msmpi-6.0.12436.10\inc -I \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\mumps_5.0.1\include
libs_partel: \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\metis\libmetis64b_5.1.0.a
#
libs_all: \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\msmpi-6.0.12436.10\lib\libmsmpi.a
-L \\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\mumps_5.0.1\lib -ldmumps -lmumps_common -lpord
\\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\openblas\libopenblas.a
\\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\lapack_3.5.0\liblapack.a
\\atlas\Company\DataDisk\NET\PROGRAM_FILES\opentelemac\libraries\scalapack_2.0.2\libscalapack.a
#
Any help would be appreciated,
Regards,
Costas