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
buy cialis super active 20mg buy quetiapine 400mg anastrazole 1mg order super p force buy dilantin 100mg simvastatin 20mg avana 100mg lipitor 20mg buy prosteride online buy sildenafil citrate online buy arpizol buy testosterone undecanoate 4ml buy lithosun sr online buy super kamagra amlodac amlodipine buy cialis buy naltima 50mg buy irovel buy melanocyl fincar malegra professional buy attentrol 10mg zithromax buy tadalista 20mg zantac buy hostacycline 500mg acamprol 333 mg order nodict poxet dapoxetine bimatoprost lumigan levipil levetiracetam aurogra buy viread order isotretinion buy clomiphene valif sildigra xl plus 150mg buy piracetam online avagra avanafil order tadasoft tadora for sale lioresal for sale order oleanz buy pletoz online vidalista 20mg flutivate cream cutivate cream buy revlimid buy calaptin buy sildenafil citrate soft cernos gel testosterone gel monodox order imatib premarin order tadarise pro amisulpride buy generic eriacta buy generic sirolimus 1mg buy soranib 200mg viagra omeprazole tadaga for sale prednisolone 40mg buy sildenafil citrate jelly online avanafil order vilitra buy sustanon buy bimatoprost opthalmic drops online buy rogaine shampoo lovegra buy generic malegra buy cernos capsules online amiloride 5/50mg buy terbicip gleevec buy tadacip 20mg buy generic admenta buy memantine calutide for sale fluconazole testosterone undecanoate rizact 10mg sildenafil citrate order erlonat buspin 10mg tizan for sale order tenofovir + emtricitabine order generic ampicillin buy kamagra oral jelly order finpecia buy vega buy clomiphene online buy zhewitra online diclofenac voltaren order aldactone ketasma megalis for sale ciplactin for sale buy urimax online quinine sulphate for sale buy ciprofloxacin online buy norvasc 10mg buy floricot online duprost buy rifaximin online buy budeprion 150mg buy nexium online order bupron sr flonida fluorouracil order modafresh buy mirtazepine buy veenat online buy viraday online buy letrozole 2.5mg buy piracetam 800mg buy generic nuvigil online buy viagra buy x-vir buy generic baclof caverta for sale order xtane buy topirol 100mg buy garlic himalaya buy filagra super active 100mg buy generic gefitinib online buy lasix 40mg modalert order caberlin buy snovitra buy a-ret gel buy armodafinil 150mg buy sildenafil citrate 100mg modvigil cutivate cream buy suhagra 100mg buy arcalion sulbutiamine online order nizonide malegra fxt buy flagyl 400mg buy amitryn 75mg buy flagyl online buy generic viagra online buy generic mestilon buy levitra order auvitra buy sirolimus buy fluka online buy bortenat buy xenical 120mg armodafinil for sale buy qutipin online tadarise for sale buy malegra dxt 100/30mg buy tadalafil 20mg buy generic pelosta buy generic enalapril maleate order natamet buy rasagiline mesylate online bactrim d.s septra buy tadalafil jelly 20mg doxicip for sale sildigra for sale waklert 150mg