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

TOPIC: Trunk version - installation error

Trunk version - installation error 8 years 3 months ago #23158

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

I am trying to compile the trunk version. During compiling, I got an error attached.

Could you please help me to solve it?

Thanks & Best Regards

Huy
trunk.error.jpg
The administrator has disabled public write access.

Trunk version - installation error 8 years 3 months ago #23163

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

Indeed MASCARET is being added to the mix. You have two choices:

- just ignore MASCARET and add -mascaret in your configuration file:
modules:    system -dredgesim -mascaret

- compile MASCARET, but you need to add the c command (nobody is perfect):
cmd_obj_c: gcc -c <srcName> -o <objName>
You can add that one in the [general] section of your configuration file.

Hope this helps,
Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

Trunk version - installation error 8 years 3 months ago #23167

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

After following your suggestion, I have successfully compiled and run several test cases in directory EXAMPLES.

However, when running with my project that I have done before, it presents errors as below:

... handling temporary directories

... checking coupling between codes

... checking parallelisation

... first pass at copying all input files
copying: Boundary200716.cli C:\opentelemac-mascaret\trunk\COSTAS\t2d_alo
ne1.cas_2016-07-25-18h33min47s\T2DCLI
copying: Geometry200716.slf C:\opentelemac-mascaret\trunk\COSTAS\t2d_alo
ne1.cas_2016-07-25-18h33min47s\T2DGEO
copying: h_tpxo7.2 C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1.cas_2
016-07-25-18h33min47s\T2DBB1
copying: u_tpxo7.2 C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1.cas_2
016-07-25-18h33min47s\T2DBB2
copying: xy_winds2012 C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1.ca
s_2016-07-25-18h33min47s\T2DFO1
copying: t2d_wind_txy1.f C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1
.cas_2016-07-25-18h33min47s\t2dfort.f
re-copying: C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1.cas_2016-07-25-
18h33min47s\T2DCAS
copying: telemac2d.dico C:\opentelemac-mascaret\trunk\COSTAS\t2d_alone1.
cas_2016-07-25-18h33min47s\T2DDICO

... checking the executable
t2dfort.f:69.17:

INTEGER LNG,LU
1
t2dfort.f:66.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_speci
al', use-associated at (2)
t2dfort.f:70.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:376.17:

INTEGER LNG,LU
1
t2dfort.f:373.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_speci
al', use-associated at (2)
t2dfort.f:377.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
runCAS: could not compile: t2d_wind_txy1.exe
|processExecutable: could not compile your FORTRAN (runcode=1).
|
|... The following command failed for the reason above (or below)
|gfortran -c -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 -ffixed-line
-length-132 -I C:\opentelemac-mascaret\trunk\builds\win7gfors\lib\utils\special
-I C:\opentelemac-mascaret\trunk\builds\win7gfors\lib\utils\parallel -I C:\op
entelemac-mascaret\trunk\builds\win7gfors\lib\utils\hermes -I C:\opentelemac-ma
scaret\trunk\builds\win7gfors\lib\utils\damocles -I C:\opentelemac-mascaret\tru
nk\builds\win7gfors\lib\utils\ad -I C:\opentelemac-mascaret\trunk\builds\win7gf
ors\lib\utils\bief -I C:\opentelemac-mascaret\trunk\builds\win7gfors\lib\stbtel
-I C:\opentelemac-mascaret\trunk\builds\win7gfors\lib\sisyphe -I C:\opentelem
ac-mascaret\trunk\builds\win7gfors\lib\tomawac -I C:\opentelemac-mascaret\trunk
\builds\win7gfors\lib\waqtel -I C:\opentelemac-mascaret\trunk\builds\win7gfors\
lib\telemac2d t2dfort.f
|

C:\opentelemac-mascaret\trunk\COSTAS>


Could you please help me to solve it?

Thanks & Best Regards

Huy
The administrator has disabled public write access.

Trunk version - installation error 8 years 3 months ago #23168

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You have to update your fortran file according to the modification of the sources file made on the trunk version you try to use...

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

Trunk version - installation error 8 years 3 months ago #23169

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

My stupid question is how can I do that? Can you explain a bit?

Best Regards

Huy
The administrator has disabled public write access.

Trunk version - installation error 8 years 3 months ago #23170

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

It seems that all the

INTEGER LNG,LU

and

COMMON/INFO/LNG,LU

have been removed from the files in the trunk version by the developpers. Try commenting these lines, it should work unless the subroutines you are trying to compile in your fortran file have been further modified in the trunk version (compare the original file from trunk/sources... and what you want to compile in your own fortran file).

Good luck!

Best regards
PL
The administrator has disabled public write access.
The following user(s) said Thank You: huyquangtran

Trunk version - installation error 8 years 3 months ago #23175

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Pilou. I got it.

Best Regards

Huy
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24595

  • akakalot
  • akakalot's Avatar
Dear All,
I am try to install telemac trunk version with window 8 64bit.
I download svn to my computer, config and compile well for scalar mode, but did not work with parallel mode.when i run compile command it did not success.
Could some one help me solve problem.
I attacth systel and error.
Thank you
Attachments:
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24608

  • jmhervouet
  • jmhervouet's Avatar
Hello,

It just seems that mpi is not properly installed.

With best regards,

JMH
The administrator has disabled public write access.

Trunk version - installation error 7 years 11 months ago #24625

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

Please refer my configuration attached for TRUNK. It works well on Win 7 scalar!

Hope this helps

Best Regards
Huy
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: akakalot
  • Page:
  • 1
  • 2
Moderators: borisb

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