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

TOPIC: v7p3r1 compiling error

v7p3r1 compiling error 6 years 2 months ago #31482

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
I have successfully dowloaded the sources of v7p3r1 through tortoise svn.
I follow the installation manuall by José Andrés Morales.
While doing Scalar Installation I get the following error while cmd is compiling the part of mpi.
I have attached the command I used in the cfg file as a text file
Help me with this
The administrator has disabled public write access.

v7p3r1 compiling error 6 years 2 months ago #31483

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to add -cpp in your cmd_obj command.
And reun compilation from beginning (compileTELEMAC.py --clean).
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: buckle

v7p3r1 compiling error 6 years 2 months ago #31484

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear Yugi,
Thank you for your help.
I am able to successfully compile Telemac.
I attach the cfg file I used for successful compilation here as a text file.
Thank You again

I am also interested in trying parallel installation.
I want to know whether trying parallel installation will affect the already done scalar Installation.
I also attach the cfg file I made for parallel installation as a text file.
Help me with this
With Regards,
Buckle
The administrator has disabled public write access.

v7p3r1 compiling error 6 years 2 months ago #31485

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
The parallel installation will be in another folder so it will not affect your scaler installation.
You are missing the -cpp in the parallel confgirations as well.
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: buckle

v7p3r1 compiling error 6 years 2 months ago #31490

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Dear Buckle,

In case you had succeeded with the parallel installation, could you please attach the systel file you used for it (the one that works)? I'm working on it for the installation guide update, so, it would be fine to have several to compare with.

If you have not succeed, let me know in order to send you a systel file for it that works for v7p3r1.

On other hand I hope the installation guide had helped you during the installation of the software (or at least make it easier).

Best Regards,
José Andrés.
The administrator has disabled public write access.
The following user(s) said Thank You: buckle

v7p3r1 compiling error 6 years 2 months ago #31491

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear jose,
I am currently trying the parallel installation. I will be intimating you soon.
Thank You,

With Regards,
Buckle S
The administrator has disabled public write access.

v7p3r1 compiling error 6 years 2 months ago #31492

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear Jose,
Mine is repeatedly failing.
My details below.
Have a look.
Thank You,
With Regards,
Buckle
The administrator has disabled public write access.

v7p3r1 compiling error 6 years 2 months ago #31493

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to change your inc_ and libs_:
It should be :
root:       C:\opentelemac-mascaret\v7p3r1
version:    v7p3r1
language:   2
modules:    system -nestor
#
options:    parallel mpi
par_cmdexec:   <config>\partel.exe < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec:   C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
#
cmd_obj:    gfortran -fopenmp -c -cpp -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -o  <exename> <objs> <libs>
#--end-group
#
mods_all:   -I <config>
#
incs_all: -I C:\opentelemac-mascaret\mpich2\include
libs_all:   C:\opentelemac-mascaret\metis\lib\libmetis.a C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a
#
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:    .exe
#
val_root:   <root>\examples
val_rank:   all

And if you have mpif90 i would replace gfortran by mpif90. You can then remove the include dans libs from incs_all and libs_all.
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: jose2kk

v7p3r1 compiling error 6 years 2 months ago #31494

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
And Jose you can find examples of working configuration for windows in configs/systel.edf.cfg
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.

v7p3r1 compiling error 6 years 2 months ago #31495

  • buckle
  • buckle's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Thank you received: 4
Dear Yugi,
Thank You
I have successfully completed my parallel compilation.
A error occurred citing that cmd_lib_c is missing from your configuration file.
I have modified your commands by adding cmd_lib_c to the configuration file.
Then the compilation is a success.
I have added the cmd_lib_c command in the 27th line
I am adding the error which occurred and the modification I made to the systel file to make the compilation success.
Thank You again,
With Regards,
Buckle S
The administrator has disabled public write access.
The following user(s) said Thank You: jose2kk
  • Page:
  • 1
  • 2
Moderators: borisb

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