Welcome, Guest
Username: Password: Remember me

TOPIC: Help Configuring and Compiling

Help Configuring and Compiling 7 years 8 months ago #25410

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
is it working without --clean option?
Christophe
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 8 months ago #25411

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
No.. actually..

It is so weird recently..

I was also testing with V7p2 which I previously used, but I was also not able to compile it at all. I am stuck in this.
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 8 months ago #25412

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Dear Christ,


It does seem to work if I give full path:

python /home/huyquangtran/telemac/trunk/scripts/python27/compileTELEMAC.py

I will try and let you know.....

Best Regards
Huy
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 8 months ago #25417

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Huhmmm... new problem occurs: :(

I search online, it is linked to Fortran API.. is it buggy?

Thanks


Warning: /home/huyquangtran/telemac/trunk/sources/nestor/m_interfaces_nestor.f:159: Illegal preprocessor directive
- completed: .../trunk/sources/nestor/m_interfaces_nestor.f
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:10: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:12: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:17: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:20: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:22: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:24: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:28: Illegal preprocessor directive
/home/huyquangtran/telemac/trunk/sources/nestor/my_flush.f:11.9:

USE F90_UNIX_IO, ONLY: FLUSH
1
Fatal Error: Can't open module file 'f90_unix_io.mod' for reading at (1): No such file or directory
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/infomessage.f:15: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/infomessage.f:17: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/infomessage.f:26: Illegal preprocessor directive
Warning: /home/huyquangtran/telemac/trunk/sources/nestor/infomessage.f:165: Illegal preprocessor directive
/home/huyquangtran/telemac/trunk/sources/nestor/infomessage.f:16.37:

USE m_Interfaces_Nestor, ONLY : my_FLUSH
1
Error: Symbol 'my_flush' referenced at (1) not found in module 'm_interfaces_nestor'


Hummm ... I could not complete my work.
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 8 months ago #25418

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to had the option to handle preprocessing.
In gfortran it is -cpp
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: huyquangtran

Help Configuring and Compiling 7 years 8 months ago #25419

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Yoann,

It was succesful.. but I can see a warning message below. Is it ok?

Regards
Huy

/home/huyquangtran/telemac/trunk/sources/nestor/dig_by_criterion.f:322:0: warning: extra tokens at end of #endif directive [enabled by default]
#endif NESTOR_INTERFACES !********************************************
^
- completed: .../trunk/sources/nestor/intpol_z_angular_profils.f
/home/huyquangtran/telemac/trunk/sources/nestor/writeactiontorestart.f:18:0: warning: extra tokens at end of #endif directive [enabled by default]
#endif NESTOR_INTERFACES
^
/home/huyquangtran/telemac/trunk/sources/nestor/writeactiontorestart.f:109:0: warning: extra tokens at end of #endif directive [enabled by default]
#endif NESTOR_INTERFACES !********************************************
^
/home/huyquangtran/telemac/trunk/sources/nestor/readfieldtorestart.f:18:0: warning: extra tokens at end of #endif directive [enabled by default]
#endif NESTOR_INTERFACES
^
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 8 months ago #25420

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Yes it is normal.
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: huyquangtran

Help Configuring and Compiling 7 years 1 month ago #28020

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi yugi,

Could you explain it a bit more about how to use the command '-cpp' when compiling the trunk version? Many thanks.

Yunhao
The administrator has disabled public write access.

Help Configuring and Compiling 7 years 1 month ago #28028

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Yes you need to add in your systel.cfg file for the command cmd_obj the options -cpp.
This options force the run of the preprocessor.
Which is what handles #ifdef code lines.

Hope it helps.
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: Yunhao Song

Help Configuring and Compiling 7 years 1 month ago #28041

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yugi,

Thanks to your explanation I succeeded in compiling the trunk version but I got another question, when I tried to run a waq3d_aed2 example an error says:
ERROR: AED2 LIBRARY NOT COMPILED
Could you show me how to finish compiling the AED2 library? I tried different methods but none of them worked as I'm quite new to this, thanks in advance.

Best regards,
Yunhao
The administrator has disabled public write access.
Moderators: borisb

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