Welcome, Guest
Username: Password: Remember me

TOPIC: mpich2

mpich2 8 years 8 months ago #20423

  • chelobarros
  • chelobarros's Avatar
hi, this is my first time in this forum and i thank you all in advance for the time it took you to respond here.

let me say that im rather new to linux and programming in general, so i can figure out this error im getting.

if somebody could point me in some direction to solve this i would really appreciate , i leave the text of the error below.

i tried to install mpich2 but i simply can not.

cheers,
Chelo.



Compiling the program SPLITSEL and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Warning: Nonexistent include directory "/usr/lib/mpich2/include/"] 0% | ---s
Warning: Nonexistent include directory "/home/telemac/mumps/MUMPS_5.0.0/include/"
- completed: .../v7p1r0/sources/utils/special/declarations_special.f
Warning: Nonexistent include directory "/usr/lib/mpich2/include/" ] 2% | 4s
Warning: Nonexistent include directory "/home/telemac/mumps/MUMPS_5.0.0/include/"
/home/chelobarros/v7p1r0/sources/utils/special/plante.F:52: Error: Can't open included file 'mpif.h'
Warning: Nonexistent include directory "/usr/lib/mpich2/include/"
Warning: Nonexistent include directory "/home/telemac/mumps/MUMPS_5.0.0/include/"
Warning: Nonexistent include directory "/usr/lib/mpich2/include/"
Warning: Nonexistent include directory "/home/telemac/mumps/MUMPS_5.0.0/include/"
[\\\ ] 4% | 3s

Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compileTELEMAC::createObjFiles:
+> failed: gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS -fconvert=big-endian -frecord-marker=4 -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/special -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/hermes -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/bief -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/splitsel -I /usr/lib/mpich2/include/ -I /home/telemac/mumps/MUMPS_5.0.0/include/ /home/chelobarros/v7p1r0/sources/utils/special/plante.F
... The following command failed for the reason above (or below)
gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS -fconvert=big-endian -frecord-marker=4 -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/special -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/hermes -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/bief -I /home/chelobarros/v7p1r0/builds/ubugfmpich2dbg/lib/utils/splitsel -I /usr/lib/mpich2/include/ -I /home/telemac/mumps/MUMPS_5.0.0/include/ /home/chelobarros/v7p1r0/sources/utils/special/plante.F:
Warning: Nonexistent include directory "/usr/lib/mpich2/include/"
Warning: Nonexistent include directory "/home/telemac/mumps/MUMPS_5.0.0/include/
The administrator has disabled public write access.

mpich2 8 years 8 months ago #20428

  • jmhervouet
  • jmhervouet's Avatar
Hello,

At least I see that your configuration of the gfortran compiler has the -DHAVE_MUMPS option (which means that you have installed the direct solver library MUMPS before, which is probably not the case):

gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS

If you do not want to install MUMPS (not very useful except for module Artemis) just remove the -DHAVE_MUMPS option.

There could be also a problem with the installation of MPI but I am not able to give you an advice for that. Anyway this is for parallelism, so you could remove also -DHAVE_MPI from your compiler options, to start with.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

mpich2 8 years 8 months ago #20431

  • chelobarros
  • chelobarros's Avatar
hi, thank you for writing back.

i really sorry to ask , but where do i take this mpich2 and mumps off?

i put the config file for ubuntu that i using maybe you if could be of some use.

Greetings,

Chelo.

File Attachment:

File Name: systel.cis-ubuntu.cfg
File Size: 5 KB
The administrator has disabled public write access.

mpich2 8 years 8 months ago #20435

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, in this file, you can see the sequences -DHAVE_MPI and -DHAVE_MUMPS twice in the gfortran compiler configuration line, just remove them and see what happens.

Regards,

JMH
The administrator has disabled public write access.

mpich2 8 years 8 months ago #20457

  • chelobarros
  • chelobarros's Avatar
thank you it worked like a charm. how do i put the resolved status in this topic?

greetings,
Chelo.
The administrator has disabled public write access.

mpich2 8 years 8 months ago #20462

  • jmhervouet
  • jmhervouet's Avatar
Hello,

OK, nothing else to do, except when you want to have parallelism enabled, you will have to install MPI and add the -DHAVE_MPI.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

mpich2 8 years 2 weeks ago #24145

  • chelobarros
  • chelobarros's Avatar
hi, i trying to run my models using parallel computing, i tried installing mpi and adding the line, but i have this error. could anybody help figuring out what it means?

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

+> configuration: debgfopenmpi
+> root: /home/chelobarros/v7p1r0
+> modules: clean system -dredgesim

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



Compiling the program SPLITSEL and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---s
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)
[\ ] 2% | 1s

Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compileTELEMAC::createObjFiles:
+> failed: /usr/bin/mpif90 -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/special -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/hermes -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/bief -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/splitsel /home/chelobarros/v7p1r0/sources/utils/special/declarations_special.f
... The following command failed for the reason above (or below)
/usr/bin/mpif90 -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/special -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/hermes -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/bief -I /home/chelobarros/v7p1r0/builds/debgfopenmpi/lib/utils/splitsel /home/chelobarros/v7p1r0/sources/utils/special/declarations_special.f:
chelobarros@CHELO:~$




greetings,
chelo.
The administrator has disabled public write access.
Moderators: borisb

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