Welcome, Guest
Username: Password: Remember me

TOPIC: Modifying subroutine USER_SOURCE and USER_MESH_TRANSF

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41853

  • lhtraymond
  • lhtraymond's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 1
Hi, an error below occurred when I tried to run simulation in Telemac 3D with modified subroutine of user_mesh_transf and user_source (where additional source terms were added).
> compiling objs
       compiling: t3d_TEC_v6.0_exp.f ... completed
       compiling: user_mesh_transf.f ... completed
runCAS: failed to compile
   |processExecutable: could not link your executable (runcode=1).
   |      
   |... The following command failed for the reason above (or below)
   |/usr/lib64/openmpi/bin/mpif90 -mcmodel=large -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -lz -o "/storage/home/s2054145/models/fw_TEC_implem_v0/fw_TEC_implem_v0_20140716.cas_2023-01-04-16h43min56s/out_user_fortran" t3d_TEC_v6.0_exp.o user_mesh_transf.o /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/tomawac4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/telemac2d4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/gaia4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/sisyphe4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/ad4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/nestor4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/waqtel4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/bief4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/damocles4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/parallel4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/hermes4telemac3d.a /storage/home/telemac/v8p1r0/builds/fedgfopenmpi/lib/special4telemac3d.a  -L/usr/lib64 -L/usr/lib64/openmpi/lib -lmpi -ldmumps -lmumps_common -lpord -lscalapack -lblas -lmetis -lpthread
   |

Both fortran files for the subroutines were put into a folder called 'user_fortran' and was called in the steering file. Do you know what is the cause of this issue? I have attached the full log file and steering file for your reference. Please ignore the inconsistencies of filenames.
Attachments:
The administrator has disabled public write access.

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41854

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
First of all avoid twice postinf in different topic as indicate in the rules, this will not accelerate the answer ...
As indicate, your problem comes at the linking step so without the fortran file, it's hard to say much more than check carefuly the arguments of the subroutine as some call could change with version...
Regards
Christophe
The administrator has disabled public write access.

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41855

  • lhtraymond
  • lhtraymond's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 1
Thanks very much for your reply. My apologies for the duplication. I have attached the two fortran files here for your reference. I am relatively new in telemac and I couldn't relate the messages of the error to the fortran files. Thanks for your help again.
The administrator has disabled public write access.

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41856

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
which version of telemac are you using?
Christophe
The administrator has disabled public write access.

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41857

  • lhtraymond
  • lhtraymond's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 1
I'm using v8p1
The administrator has disabled public write access.

Modifying subroutine USER_SOURCE and USER_MESH_TRANSF 1 year 10 months ago #41874

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

Please upgrade to the latest release available (v8p4r0) otherwise no assistance is given.

Anyway, can you run a simple example using FORTRAN FILE, like V (try to run t3d_V_prism.cas).

If you get the same error, that means you have an issue with your installation (and this is not the dedicated section to be helped).
If not, you may have an issue with what you have implemented in your FORTRAN FILE. Try to solve step by step by adding one subroutine (whole or part), the other one (whole or part) and use the latest release v8p4r0.

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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