Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation Error v7p3r0 in Nestor

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28684

  • EnGlobe
  • EnGlobe's Avatar
Hello,

I did a checkout on the v7p3r0 tag in svn. I ran the following compilation command:
compileTELEMAC.py -c win7gfors -f systel.v7p3r0.cfg

I get an error in the nestor part, see text file.

Can anyone advice on how to solve this?

Or let me know whether more information is required to help me.

Thanks, Patrick
PS. I get the same error with the trunk version
Attachments:
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28686

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

What compiler do you use? Can you add -cpp in the cmd_obj_c and cmd_obj and try again?

eg:
cmd_obj_c: gcc -cpp -c <srcName> -o <objName>
cmd_obj:    x86_64-w64-mingw32-gfortran -cpp 

Regards,
Costas

Edit: Have a look at this post and read though the topic for more info: #25284
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28724

  • EnGlobe
  • EnGlobe's Avatar
Hi Costas,

Thanks for your replay, it worked by changing -fopenmp to -cpp with gfortran.

cmd_obj_c: gfortran -cpp -c <srcName> -o <objName>

I added my new config file for people that encounter the same problem

Patrick
Attachments:
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28726

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Hi Costas and Patrick,

I actually have TELEMAC V6P3, and I am trying to upgrade it to V7P3. It seems that I have a similar error when I compile TELEMAC.

I am beginner, and I I would be grateful for your help.

Here are my config file and the error message.

Thanks for your help.

Nicolas
Attachments:
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28727

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

Just add -cpp to the lines as shown below:
cmd_obj:    gfortran -cpp -c -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 <mods> <incs> <f95name>
cmd_obj_c:  gcc - cpp -c <srcName> -o <objName>

Also 'cmd_obj_c:' line appears twice in the cfg. You may delete the second appearance.

Regards,
Costas
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28729

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Thanks for your help, but even with this modification, the error persist...
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28730

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Can you post the modified cfg file?
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28731

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
I tried with this script (joined) for v7p2, and it works.
I changed the access to install v7p3, but it does not succed.

Thanks a lot for your help.

Nicolas
Attachments:
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28732

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
As Costas wrote, you should add the -cpp option in the cmd_obj line otherwise the compiler couldn't manage the compiler directive in Nestor...
Regards
Christophe
The administrator has disabled public write access.

Compilation Error v7p3r0 in Nestor 6 years 9 months ago #28733

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Thank you Christophe and Costas,

It seems to work fine.

Regards,

Nicolas
The administrator has disabled public write access.
Moderators: borisb

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