Home page > MAC OS X > Open mpi using gfortran

Open mpi using gfortran

Thursday 24 March 2011, by Tital

Remark about Open MPI in OS X

Open MPI v1.2.3 was included in OS X starting with version 10.5 (Leopard). Note that the Leopard does not include a Fortran compiler, so the OS X-shipped version of Open MPI does not include Fortran support.

If you need/want Fortran support, you will need to build your own copy of Open MPI (assumedly when you have a Fortran compiler installed). The Open MPI team strongly recomends not overwriting the OS X-installed version of Open MPI, but rather installing it somewhere else (e.g., /opt/openmpi).

What did I do to compile openmpi on my machine ?

- Get the tarball of openmpi here:
- Expand the tarball in a temporary directory
- Launch the configuration setup

./configure FC=gfortran --prefix=/opt/openmpi CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64

- Install:

sudo make all install

How do I compile and run MPI fortran programs See example attached to this document.

- Compile with the compilator /opt/openmpi/bin/mpif90
- Do not forget to compile the code with -m64 flag

- Run /opt/openmpi/bin/mpirun -np #proc or define an alias

SPIP | template | | Site Map | Follow-up of the site's activity RSS 2.0
exelon 40mg buy stendra online in new york amoxicillin 500mg cheap in mayami lenalidomide uk information about buy modalert fast shipping buy kamagra london depo medrol 20 mg rizact migraine generic nizonide mebendazole online in india buying erythromycin lotion femara medicine super kamagra price in india wellbutrin generic in uk buy diaminodiphenyl sulfone online in canada order rheumatrex zyvox generic cost zantac uk prices price of suprax a-ret gel more amitriptyline hydrochloride ezetimibe drug list otc pepcid mg omeprazole no prescription information about buy azithromycin 250 mg online more info about generic pioglitazone finpecia illegal import eriacta ranbaxy more info about plavix oral information lipitor online pharmacy piracetam capsuls famotidine tab more buy silagra 100 ciprofloxacin price wellbutrin xl 150 mg prednisolone uk buy iressa uk in united states clomiphene citrate tablets diclofenac pill 75 mg zyprexa plavix otc eriacta 100 kaufen achat tadacip 20 piracetam for sale hostacycline 250mg buy generic namenda megalis price in france buy esomeprazole magnesium online ondansetron odt price
buy tadacip 20mg
buy suhagra 100mg
tadacip 20mg
vilitra 20mg
information Buy cenforce
buy vidalista 20mg in california
more info buy super p force 100mg
buy snovitra 20mg in france
buy tadasoft
buy tadaga
 super p force
buy snovitra
snovitra 20mg in canada
buy sildigra
viraday 300mg
 sildisoft 100mg
info about buy tadacip
buy tadaga 40mg
more info buy sildisoft 50mg
buy vidalista
vidalista 20mg
super p force 100mg in usa
tadasoft 20mg in france
more buy suhagra
buy caverta 100mg