Welcome, Guest
Username: Password: Remember me

TOPIC: Compile v7p3 error

Compile v7p3 error 6 years 9 months ago #28837

  • MohdAlaa
  • MohdAlaa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1
You are right, I mixed it up between -cpp and gcc :)

In which line exactly I need to add -cpp?
The administrator has disabled public write access.

Compile v7p3 error 6 years 9 months ago #28838

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
In the line indicate by Yugi!
cmd_obj: gfortran -c -O3 -cpp -fopenmp -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: MohdAlaa

Compile v7p3 error 6 years 9 months ago #28839

  • MohdAlaa
  • MohdAlaa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1
I compiled it again after updating the config file. Everything went fine, and the compilation completed successfully. Problem solved, thanks :)
The administrator has disabled public write access.

Compile v7p3 error 6 years 8 months ago #29351

  • akakalot
  • akakalot's Avatar
Dear MohdAlaa,
Could you upload the final config file for help some new users?
Thank you
The administrator has disabled public write access.

Compile v7p3 error 6 years 8 months ago #29352

  • MohdAlaa
  • MohdAlaa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1
Hi Akakalot,

Sure I can. The file is in the attachments now.

File Attachment:

File Name: systel_v7p3_2018-03-22.cfg
File Size: 3 KB
The administrator has disabled public write access.

Compile v7p3 error 6 years 8 months ago #29227

  • Tim Ruga
  • Tim Ruga's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi,

I am trying to compile v7p3r0 and get the following error:

c_binding.o:c_binding.F:(.text+0x6a): undefined reference to `METIS_PartMeshDual'
collect2.exe: error: ld returned 1 exit status
compileTELEMAC::main:
+> creating executable: partel_prelim:
|createExeFiles: something went wrong, I am not sure why (runcode=1).
|
|... The following command failed for the reason above (or below)
|gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -o C:\opentelemac-mascaret\v7p3r0\builds\wing64mpi\bin\partel_prelim.exe c_binding.o partitioner.o partel_prelim.o -Xlinker --start-group C:\opentelemac-mascaret\v7p3r0\builds\wing64mpi\lib\utils\special\special4partel_prelim.lib C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a
|

Please see the attached system and installation printout files for more complete information.

Thanks,
Tim Ruga
Attachments:
The administrator has disabled public write access.

Compile v7p3 error 6 years 8 months ago #29228

  • Tim Ruga
  • Tim Ruga's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Sorry, I should have mentioned that I am trying to install on Windows 10 pro.
The administrator has disabled public write access.

Compile v7p3 error 6 years 7 months ago #29596

  • knightx202
  • knightx202's Avatar
hi, I followed the installation guide step and step, and used the .cfg file referred in the forum,then I have installed the telemac v7p3r1 on windows 10 64bit。maybe it help you, you could have a try.

yuzhuo
Attachments:
The administrator has disabled public write access.

Compile v7p3 error 6 years 6 months ago #30137

  • Tim Ruga
  • Tim Ruga's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Thanks yuzhuo,

I am installing the latest version and will try this if it doesn't work this time.
The administrator has disabled public write access.

Compile v7p3 error 6 years 5 months ago #30310

  • Xiaoteng
  • Xiaoteng's Avatar
If I use intel instead of gfortran, how can I add "-cpp"?

e.g.,

[wintels]
#
cmd_obj: ifort.exe /c /Ot /iface:cref /iface:nomixed_str_len_arg /nologo /fpp /names:uppercase /convert:big_endian <mods> <incs> <f95name>

(See attached file)
The administrator has disabled public write access.
Moderators: borisb

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