Welcome, Guest
Username: Password: Remember me

TOPIC: compilation error v6p3r1

compilation error v6p3r1 11 years 2 months ago #10127

  • Flo64
  • Flo64's Avatar
Hi,

I try to compile TELEMAC v6p3r1.
I made my systel.cfg file and i have this error...



Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: /Outils_telemac/v6p3r1/v6p3r1/configs/systel.cfg


Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: ubugfopenmpi
+> root: /Outils_telemac/v6p3r1/v6p3r1/
+> version: v6p3
+> modules: update system -dredgesim
+> options: hpc

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Compiling the program HOMERE_SISYPHE and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Outils_telemac/v6p3r1/v6p3r1/sources/utils/bief/streamline.f:83.72:

USE DECLARATIONS_PARALLEL
1
Fatal Error: Can't open module file 'declarations_parallel.mod' for reading at (1): Aucun fichier ou dossier de ce type
... The following command failed for the reason above
gfortran -c -O3 -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 /Outils_telemac/v6p3r1/v6p3r1/sources/utils/bief/streamline.f

The file "streamline.f" is in /sources/utils/bief and the file 'declarations_parallel.mod' is in /builds/ubugfopenmpi/lib/utils/bief/

I put my systel file if you want to see it.

Thanks in advance
Florian

File Attachment:

File Name: h1ac398e.cfg
File Size: 2 KB
The administrator has disabled public write access.

compilation error v6p3r1 11 years 2 months ago #10128

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

usually hpc comes after mpi which comes after parall (although, it has been a while since I looked at the hpc options) We may remove the parallel at some point if it has not been done already by Yoann. So I would put:
options: parallel mpi hpc

That may sort out the compilation. If not, I believe we recomend that you use gfortran 4.6 or higher, so you can update that too if possible (you need the corresponding openmpi and libmetis).

In addition, you can probably simplify the compilation commands with just:
cmd_obj:    gfortran -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_exe:    mpif90 -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -o <exename> <objs> <libs>

(you do not need the grouping options anymore, as we have done a lot of work to make this right)

When it will come to runing, you seem to be using mpirun instead of <mpi_cmdexec>, therefore bypassing what is in the command mpi_cmdexec above. I would not recommend that. Change the mpi_cmdexec: command instead, but keep your hpc_stdin: as something like:
hpc_stdin:  #!/bin/bash
   #PBS -S /bin/sh
   #PBS -o <sortiefile>
   #PBS -e <exename>.err
   #PBS -N <jobname>
   #PBS -l nodes=<nctile>:ppn=<ncnodes>
   #PBS -M <email>
   #PBS -m abe
   #PBS -d <wdir>
   cd <wdir>
   <mpi_cmdexec>
   exit
Note that cd <wdir> is not necessary if you use the -wdir option of mpiexec.

Finally, your hpc_cmdexec: does not seem right -- I presume your are just testing. Se what I have here to help:
hpc_cmdexec:   chmod 755 <hpc_stdin>; qsub <hpc_stdin>

Hope this helps,
Sébastien
The administrator has disabled public write access.

compilation error v6p3r1 11 years 2 months ago #10129

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
PS: Please do update your profile under the "COMUNITY" page. Thank you.
Sébastien.
The administrator has disabled public write access.
Moderators: borisb

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