Welcome, Guest
Username: Password: Remember me

TOPIC: Problem compiling telemac

Problem compiling telemac 4 years 2 months ago #36663

  • kareemjo94
  • kareemjo94's Avatar
Hello Yugi ,

Thank you for your reply.

I attached the file here
Attachments:
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36664

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

replace:
incs_parallel:      -I C:\opentelemac-mascaret\mpich2\include
incs_special:       -I C:\opentelemac-mascaret\mpich2\include
libs_partel:        C:\opentelemac-mascaret\metis\lib\libmetis.a
libs_all:           C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a

by
incs_all:      -I C:\opentelemac-mascaret\mpich2\include
libs_alll:        C:\opentelemac-mascaret\metis\lib\libmetis.a C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a

That should do the trick
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36666

  • kareemjo94
  • kareemjo94's Avatar
Thank you, now it shows another error though, I have attached a screenshot of it.
Attachments:
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36667

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

could you post the full message ?
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36668

  • kareemjo94
  • kareemjo94's Avatar
Hi, Here is what comes up


c:/opentelemac-mascaret/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
compileTELEMAC::main:
+> creating executable: tomawac:
|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\v8p1\builds\wing64mpi\bin\tomawac.exe declarations_tomawac.o interface_tomawac.o deall_tomawac.o nomvar_tomawac.o tomawac_constants.o lecdon_tomawac.o point_tomawac.o user_anamar.o anamar.o user_current.o couuti.o user_tide.o maruti.o user_wind.o venuti.o noudon.o cormar.o dir_spread.o fpread.o frem01.o frem02.o fremoy.o frepic.o radiat.o tetmoy.o totnrj.o user_dump2d.o vitfon.o wpower.o dump2d.o ecrete.o ecrspe.o fbott3d.o fdiss3d.o fdissk.o fric3d.o impr.o wnscou.o iniphy.o limite.o bnd_spectra.o gammln.o delfra.o fsprd1.o fsprd2.o fsprd3.o spejon.o spetma.o speini.o user_limwac.o limwac.o moudiss1.o moudiss2.o conwac.o filt_sa.o rpi_intr.o diffrac.o predif.o conw4d.o prepro.o propa.o read_spectra_coords.o user_anaven.o anaven.o kmoye2.o kmoyen.o qbbj78.o qbrek1.o qbrek2.o foncro.o bornes.o qgauss.o qbrek3.o qbrek4.o qdscur.o qfrot1.o qmout1.o qmout2.o cqueue.o qnlin1.o qnlin2.o qnlin3.o qporos.o qtria1.o kerbou.o qtria2.o qveg.o qwind1.o qwind2.o qwind3.o qwindl.o stress.o tautot.o ustar1.o ustar2.o semimp.o sor3d.o transf.o uvstokes.o user_anacos.o anacos.o lecdoi.o lecdon.o condiw.o invert.o rpi_invr.o frmset.o ifabtom.o initab.o lecsui.o angles.o intang.o prenl1.o prenl2.o couple.o f1f1f1.o gauleg.o prenl3.o preqt2.o user_tom_corfon.o tom_corfon.o wac_init.o windiss1.o windiss2.o windiss3.o wipj.o wac.o homere_tomawac.o C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\bief4tomawac.lib C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\ad4tomawac.lib C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\hermes4tomawac.lib C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\parallel4tomawac.lib C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\damocles4tomawac.lib C:\opentelemac-mascaret\v8p1\builds\wing64mpi\lib\special4tomawac.lib
|

C:\opentelemac-mascaret\v8p1>

Thank you in advance
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36669

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Ok I see the issue now.
The link with mpi is missing.
Could you post the updated systel.cfg file ?
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36670

  • kareemjo94
  • kareemjo94's Avatar
Hi Yugi,
Thank you for your reply.

please check the attached file
Attachments:
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36671

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I made a mistake in the code I gave you there is one l too many in libs_alll it should be libs_all.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36672

  • kareemjo94
  • kareemjo94's Avatar
Thank you again.

it now runs untill it gives me this message:

''Missing cmd_obj_c in your configuration file to compile mascaret C dependencies''

sorry if I am bothering you too much :blush:
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 months ago #36673

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Add this in you systel.cfg
cmd_obj_c: gcc -c <srcName> -o <objName>
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: kareemjo94
Moderators: borisb

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