gfxgfx
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
logo
 
gfx gfx
gfx
847 Posts in 273 Topics by 2533 Members - Latest Member: pabloosbor September 10, 2010, 05:57:58 PM
*
gfx*HomeHelpSearchLoginRegistergfx
gfxgfx
      « previous next »
Pages: [1] Print
Author Topic: problems using MPI with fortran90  (Read 636 times)
newAbsoftUser
Newbie
*
Posts: 2


View Profile Email
« on: February 27, 2010, 07:42:38 PM »

Hi there,

I am trying to compile functioning fortran 90 code on my iMac cuad-core snow leapord. This works fine as a terminal application, but only uses one of the four available processors. I would like to make use of the others by parallelising the code, but get the following error using the MPI Application option

Unfortunately, this version of MPI was not compiled with
Fortran F90 support. As a result, the mpif90 compiler is non-functional

I have installed the OpenMPI following the instructions at
http://www.absoft.com/Products/Compilers/Fortran/Linux/fortran95/MPich_Instructions.html     (using the 64-bit option)
but this has had no effect.

Please help!
Logged
forumadmin
Administrator
Full Member
*****
Posts: 131


View Profile Email
« Reply #1 on: March 01, 2010, 12:23:47 PM »

After performing the make and make install commands, did you add the location of the newly built openmpi to your PATH variable? Apple ships a build of Mpich without Fortran90 support which is installed in /usr/bin. If you do not add the location of the new OpenMPI build, you will still be running the one supplied by Apple.

I believe the default install location for OpenMPI is /usr/local/bin, so you should modify your PATH variable to include this directory before /usr/bin, as in:

export PATH=/usr/local/bin:$PATH
Logged
newAbsoftUser
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: March 01, 2010, 01:23:27 PM »

 Smiley
worked perfectly! it's now running on all 4 processors..

thanks!
Logged
gfx
Pages: [1] Print 
gfx
Jump to:  
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!