Welcome, Guest
Username: Password: Remember me

TOPIC: Artemis and direct solver in parallel (MUMPS)

Artemis and direct solver in parallel (MUMPS) 9 years 3 months ago #18028

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
... (continued) ...

Note that for some reason it is very important that blacs_MPI-LINUX-0.a appears 2 times in the libs_all key. It was also the case when I compiled SCALAPACK ... don't ask me why.

Good luck,
Sébastien.
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 3 months ago #18029

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
These are very good news indeed.

I hope I can have a go at compiling the latest MUMPS libraries when I finish my current project (in 3 weeks time). When is the next release due?

Regards,
Costas
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 month ago #18438

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

How can I get the corrected ARTEMIS sources to test MUMPS?

Regards,
Costas
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 month ago #18440

  • jmhervouet
  • jmhervouet's Avatar
Hello,

I could be wrong but it seems to me that the corrections are only in pre4_mumps.F and solve_mumps_par.F, so in library BIEF. These corrected subroutines are in the trunk, and are compatible with previous versions.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 month ago #18441

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

I do not have access to the trunk. I can download tags only. Is it possible to have these files (or access to the trunk)?

Regards,
Costas
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 month ago #18442

  • jmhervouet
  • jmhervouet's Avatar
Hello Costas,

Here are the files. You could ask Sébastien Bourban for having access to the trunk (I do not know exactly the policy for this, but a reading access for all would be a good thing).

With best regards,

Jean-Michel Hervouet
Attachments:
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 week ago #18916

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
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
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 week ago #18918

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello Costas,

You should now have read- access access to the trunk. Please try from these source (after full chekcout).

Let us know,
Sébastien.
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 week ago #18922

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

The trunk version corrected the previous error, but it revealed a more serious problem with my SCALAPACK libraries. The BLACS counterpart (BLACS is now included in the latest SCALAPACK version) appears to have issues linking against the MSMPI libraries. The Windows+MINGW-W64+MSMPI combination is a tricky one and there exists little information about it.

I could use Visual Studio that has better compatibility with MSMPI, but I prefer to keep it 'open'. I will have another go at it, but I am running out of ideas. If anyone else is interested in making it work, it would be nice to combine our efforts.

Best Regards,
Costas
The administrator has disabled public write access.

Artemis and direct solver in parallel (MUMPS) 9 years 1 week ago #18924

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Thank you Costas,

We believe that keeping it open is critical.
Can you try the gfortran/c suite (from equation) instead of mingw together with mpich2 instead of msmpi ?

Would that be too complex to setup ?

Sébastien.
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.