Notebook
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). http://www.open-mpi.org/faq/?catego...

What did I do to compile openmpi on my machine ?

- Get the tarball of openmpi here: http://www.open-mpi.org/nightly/
- 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
gillette azor motrin with tylenol in india information about benadryl itch creams http://www.region-limousin.fr/?buy=251111 lamisil novartis http://www.region-limousin.fr/?buy=897440 treatment tylenol florida celebrex attorney purim ecards extacy lexapro allegra 4 in mayami arjuna tree farmville in india christmas vaxation tylenol more melatonin for baby coumadin on menses lumigan eyedrops sleepy z melatonin actos nursing amantadine syrup http://www.region-limousin.fr/?buy=800256 pepcid manufacturer januvia blurred allegra lincoln ne in california toradol cerclage buy naltrexone online about invega paliperidone http://www.region-limousin.fr/?buy=756920 makers of plavix http://www.region-limousin.fr/?buy=788222 diphenhydramine melatonin tylenol 771 tabs allegra lozinski more info melatonin add adhd http://www.region-limousin.fr/?buy=816543 maker of tricor weaning zyprexa http://www.region-limousin.fr/?buy=793081 vimax extender parts http://www.region-limousin.fr/?buy=692929 http://www.region-limousin.fr/?buy=972767 lexapro official site information about drug norvasc information about diovan hct 160 http://www.region-limousin.fr/?buy=438540 ampicillin oral med extenze for free canadian tylenol celebrex cost australia zyban smoking in mayami coumadin omega-3 elderly keppra vermox uk pharmacy insufflating tizanidine more info about hydrochlorothiazide price more generic discount bactrim nosebleed on cipro arimidex eye twitch