Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Compil parallel

Compil parallel 6 years 9 months ago #28844

  • SMPEPCE
  • SMPEPCE's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Dear,

I ran this command : "compileTELEMAC2d.py -cwing64mpi -fsystel_parallel_v7p3.cfg"

The compilation process can't be completed and the following error appears :


c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): In function `main':
/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
collect2.exe: error: ld returned 1 exit status


Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compileTELEMAC::createObjFiles:
+> failed: gfortran -cpp -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\special -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\damocles -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\hermes -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\parallel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\bief -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\nestor -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\ad -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\tomawac -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\sisyphe -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\rice2d -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\waqtel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\gretel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\partel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\telemac2d -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\api C:\opentelemac-mascaret\v7p3\sources\nestor\m_interfaces_nestor.f
... The following command failed for the reason above (or below)
gfortran -cpp -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\special -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\damocles -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\hermes -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\parallel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\bief -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\nestor -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\ad -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\tomawac -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\sisyphe -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\rice2d -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\waqtel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\gretel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\utils\partel -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\telemac2d -I C:\opentelemac-mascaret\v7p3\builds\wing64mpi\lib\api C:\opentelemac-mascaret\v7p3\sources\nestor\m_interfaces_nestor.f:


I'm looking forward to your guidance,

Thank you in advance

Franck
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28861

  • riadh
  • riadh's Avatar
Hello Franck

which cfg file do you use?

Best regards

Riadh
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28908

  • grak
  • grak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
Dear,

I have problem with the compilation process. The error and cfg file are attached.

Thanks for reply.
Attachments:
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28909

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Change incs_parallel to incs_all in your configuration
You could also merge the libs into libs_all

Regards
Christophe
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28910

  • grak
  • grak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
Thanks. It helps, but just to next error. It is the same with/without merging of libs. :(
Attachments:
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28911

  • grak
  • grak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
.... and error
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28912

  • grak
  • grak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
one figure is too big file, I divided on two...
Attachments:
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28913

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
always a problem with config file
try:
libs_all: C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a
C:\opentelemac-mascaret\metis\lib\libmetis.a
Christophe
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28914

  • grak
  • grak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
the same error :(
The administrator has disabled public write access.

Compil parallel 6 years 9 months ago #28915

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
the name of the library doesn't appear in the command line
Very Strange!
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: grak
  • Page:
  • 1
  • 2
Moderators: borisb

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