Re: [OMPI users] openmpi 1.8.1 gfortran not working
Jeff Thanks I am reinstalling now with a newer version of openmpi dated August 1 2014 Check my gfortran version is 4.4.3 as you said should be ok. Thank you for your help Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres (jsquyres) Sent: Tuesday, August 05, 2014 3:18 PM To: Open MPI User's List Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working On Aug 5, 2014, at 1:13 PM, Dan Shell wrote: > Need to use mpif.h for my application > I will get the newest versions of gcc and gfortran You should be fine without the newest versions of gcc/gfortran. The older gcc/gfortran will support mpif.h and a limited form of the mpi module. It just won't support the new MPI-3 mpi_f08 module. It certainly doesn't hurt to upgrade your gcc/gfortran to the newest, but be aware that it's a bit difficult to compile these suites properly... -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ users mailing list us...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2014/08/24925.php
Re: [OMPI users] openmpi 1.8.1 gfortran not working
On Aug 5, 2014, at 1:13 PM, Dan Shell wrote: > Need to use mpif.h for my application > I will get the newest versions of gcc and gfortran You should be fine without the newest versions of gcc/gfortran. The older gcc/gfortran will support mpif.h and a limited form of the mpi module. It just won't support the new MPI-3 mpi_f08 module. It certainly doesn't hurt to upgrade your gcc/gfortran to the newest, but be aware that it's a bit difficult to compile these suites properly... -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI users] openmpi 1.8.1 gfortran not working
Jeff Need to use mpif.h for my application I will get the newest versions of gcc and gfortran Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres (jsquyres) Sent: Tuesday, August 05, 2014 11:13 AM To: Open MPI User's List Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working On Aug 5, 2014, at 10:57 AM, Dan Shell wrote: > Should I look for a newer version of gfortran? > I saw from the config fortran compile section that mpi_f08 was not > compiled It depends on what your MPI application needs. MPI (i.e., the spec, not Open MPI) defines three different Fortran bindings: - mpif.h - the mpi module - the mpi_f08 module If your application(s) do not use the mpi_f08 module, then you don't need to worry about a new gcc/gfortran. If your application(s) do use the mpi_f08 module, then you'll need to install a new gcc/gfortran suite (which is not trivial -- you need to install both gcc and gfortran together). -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ users mailing list us...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users Link to this post: http://www.open-mpi.org/community/lists/users/2014/08/24915.php
Re: [OMPI users] openmpi 1.8.1 gfortran not working
On Aug 5, 2014, at 10:57 AM, Dan Shell wrote: > Should I look for a newer version of gfortran? > I saw from the config fortran compile section that mpi_f08 was not compiled It depends on what your MPI application needs. MPI (i.e., the spec, not Open MPI) defines three different Fortran bindings: - mpif.h - the mpi module - the mpi_f08 module If your application(s) do not use the mpi_f08 module, then you don't need to worry about a new gcc/gfortran. If your application(s) do use the mpi_f08 module, then you'll need to install a new gcc/gfortran suite (which is not trivial -- you need to install both gcc and gfortran together). -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI users] openmpi 1.8.1 gfortran not working
Jeff Ok Should I look for a newer version of gfortran? I saw from the config fortran compile section that mpi_f08 was not compiled Thank you for the help Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Jeff Squyres (jsquyres) Sent: Tuesday, August 05, 2014 10:36 AM To: Open MPI User's List Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working Dan -- The version of gfortran that you have does not support the mpi_f08 bindings. Note that: - newer versions of gfortran will support the mpi_f08 bindings - all versions of gfortran support the mpi module and the mpif.h Fortran bindings See the README: -- The following notes apply to the above-listed Fortran bindings: - All Fortran compilers support the mpif.h/shmem.fh-based bindings. - The level of support provided by the mpi module is based on your Fortran compiler. If Open MPI is built with a non-GNU Fortran compiler, or if Open MPI is built with the GNU Fortran compiler >= v4.9, all MPI subroutines will be prototyped in the mpi module. All calls to MPI subroutines will therefore have their parameter types checked at compile time. If Open MPI is built with an old gfortran (i.e., < v4.9), a limited "mpi" module will be built. Due to the limitations of these compilers, and per guidance from the MPI-3 specification, all MPI subroutines with "choice" buffers are specifically *not* included in the "mpi" module, and their parameters will not be checked at compile time. Specifically, all MPI subroutines with no "choice" buffers are prototyped and will receive strong parameter type checking at run-time (e.g., MPI_INIT, MPI_COMM_RANK, etc.). - The mpi_f08 module is new and has been tested with the Intel Fortran compiler and gfortran >= 4.9. Other modern Fortran compilers may also work (but are, as yet, only lightly tested). It is expected that this support will mature over time. Many older Fortran compilers do not provide enough modern Fortran features to support the mpi_f08 module. For example, gfortran < v4.9 does provide enough support for the mpi_f08 module. -
Re: [OMPI users] openmpi 1.8.1 gfortran not working
Dan -- The version of gfortran that you have does not support the mpi_f08 bindings. Note that: - newer versions of gfortran will support the mpi_f08 bindings - all versions of gfortran support the mpi module and the mpif.h Fortran bindings See the README: -- The following notes apply to the above-listed Fortran bindings: - All Fortran compilers support the mpif.h/shmem.fh-based bindings. - The level of support provided by the mpi module is based on your Fortran compiler. If Open MPI is built with a non-GNU Fortran compiler, or if Open MPI is built with the GNU Fortran compiler >= v4.9, all MPI subroutines will be prototyped in the mpi module. All calls to MPI subroutines will therefore have their parameter types checked at compile time. If Open MPI is built with an old gfortran (i.e., < v4.9), a limited "mpi" module will be built. Due to the limitations of these compilers, and per guidance from the MPI-3 specification, all MPI subroutines with "choice" buffers are specifically *not* included in the "mpi" module, and their parameters will not be checked at compile time. Specifically, all MPI subroutines with no "choice" buffers are prototyped and will receive strong parameter type checking at run-time (e.g., MPI_INIT, MPI_COMM_RANK, etc.). - The mpi_f08 module is new and has been tested with the Intel Fortran compiler and gfortran >= 4.9. Other modern Fortran compilers may also work (but are, as yet, only lightly tested). It is expected that this support will mature over time. Many older Fortran compilers do not provide enough modern Fortran features to support the mpi_f08 module. For example, gfortran < v4.9 does provide enough support for the mpi_f08 module. - On Aug 5, 2014, at 10:17 AM, Dan Shell wrote: > Gus > Ok > I will give that a try > Thank you for the help > Dan Shell > > > -Original Message- > From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Gus Correa > Sent: Monday, August 04, 2014 4:39 PM > To: Open MPI Users > Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working > >>> I have the following env variables set export OMPI_CC=gcc echo >> > $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran >> > echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC > > Dan > > Have you tried to set/export the compilers without the "OMPI_" prefix? > (CC, CXX, FC) > Then "make distclean; configure; make; make install". > > Gus Correa > > > On 08/04/2014 04:10 PM, Dan Shell wrote: >> Ralph >> Ok >> I will give that a try >> Thanks >> Dan Shell >> >> >> -Original Message- >> From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph >> Castain >> Sent: Monday, August 04, 2014 3:11 PM >> To: Open MPI Users >> Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working >> >> I know there were some lingering issues in 1.8.1 - you might want to >> try the latest nightly 1.8 tarball as I believe things have been fixed > now. >> >> >> On Aug 4, 2014, at 11:09 AM, Dan Shell wrote: >> >>> openmpi >>> >>> I have the following env variables set export OMPI_CC=gcc echo >>> $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran >>> echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC >>> >>> I run the configure script >>> See fortran section below >>> Looks like mpifort should be configure From what I can tell make >>> install is fine When I goto the command line and type mpifort I get >>> the wrapper.txt error >>> message: >>> "No underlying compiler was specified in the wrapper compiler data > file" >>> mpifort.wrapper.txt is in the right place >>> >>> gfortran is installed correctly on unbuntu 10 linux PC >>> >>> Any help is greatly appreciated >>> Dan Shell >>> >>> ** Fortran compiler >>> checking for gfortran... gfortran >>> checking whether we are using the GNU Fortran compiler... yes >>> checking whether gfortran accepts -g... yes checking whether ln -s >>> works... yes checking if Fortran compiler works... yes checking for >>> extra arguments to build a shared library... none needed checking for >>> Fortran flag to compile .f files... none checking for Fortran flag to >>> compile .f90 files... none checking to see if Fortran compilers need >>> additional linker flags... none checking external symbol >>> convention...
Re: [OMPI users] openmpi 1.8.1 gfortran not working
Gus Ok I will give that a try Thank you for the help Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Gus Correa Sent: Monday, August 04, 2014 4:39 PM To: Open MPI Users Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working >> I have the following env variables set export OMPI_CC=gcc echo >> $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran >> echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC Dan Have you tried to set/export the compilers without the "OMPI_" prefix? (CC, CXX, FC) Then "make distclean; configure; make; make install". Gus Correa On 08/04/2014 04:10 PM, Dan Shell wrote: > Ralph > Ok > I will give that a try > Thanks > Dan Shell > > > -Original Message- > From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph > Castain > Sent: Monday, August 04, 2014 3:11 PM > To: Open MPI Users > Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working > > I know there were some lingering issues in 1.8.1 - you might want to > try the latest nightly 1.8 tarball as I believe things have been fixed now. > > > On Aug 4, 2014, at 11:09 AM, Dan Shell wrote: > >> openmpi >> >> I have the following env variables set export OMPI_CC=gcc echo >> $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran >> echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC >> >> I run the configure script >> See fortran section below >> Looks like mpifort should be configure From what I can tell make >> install is fine When I goto the command line and type mpifort I get >> the wrapper.txt error >> message: >> "No underlying compiler was specified in the wrapper compiler data file" >> mpifort.wrapper.txt is in the right place >> >> gfortran is installed correctly on unbuntu 10 linux PC >> >> Any help is greatly appreciated >> Dan Shell >> >> ** Fortran compiler >> checking for gfortran... gfortran >> checking whether we are using the GNU Fortran compiler... yes >> checking whether gfortran accepts -g... yes checking whether ln -s >> works... yes checking if Fortran compiler works... yes checking for >> extra arguments to build a shared library... none needed checking for >> Fortran flag to compile .f files... none checking for Fortran flag to >> compile .f90 files... none checking to see if Fortran compilers need >> additional linker flags... none checking external symbol >> convention... single underscore checking if C and Fortran are link >> compatible... yes checking to see if Fortran compiler likes the C++ exception flags... >> skipped (no C++ exceptions flags) checking to see if mpifort compiler >> needs additional linker flags... none checking if Fortran compiler >> supports CHARACTER... yes checking size of Fortran CHARACTER... 1 >> checking for C type corresponding to CHARACTER... char checking >> alignment of Fortran CHARACTER... 1 checking for corresponding KIND >> value of CHARACTER... C_SIGNED_CHAR checking KIND value of Fortran >> C_SIGNED_CHAR... 1 checking if Fortran compiler supports LOGICAL... >> yes checking size of Fortran LOGICAL... 4 checking for C type >> corresponding to LOGICAL... int checking alignment of Fortran >> LOGICAL... 4 checking for corresponding KIND value of LOGICAL... >> C_INT checking KIND value of Fortran C_INT... 4 checking if Fortran >> compiler supports LOGICAL*1... yes checking size of Fortran >> LOGICAL*1... 1 checking for C type corresponding to LOGICAL*1... char >> checking alignment of Fortran LOGICAL*1... 1 checking for >> corresponding KIND value of LOGICAL*1... C_SIGNED_CHAR checking KIND >> value of Fortran C_SIGNED_CHAR... (cached) 1 checking if Fortran >> compiler supports LOGICAL*2... yes checking size of Fortran >> LOGICAL*2... 2 checking for C type corresponding to LOGICAL*2... >> short checking alignment of Fortran LOGICAL*2... 2 checking for >> corresponding KIND value of LOGICAL*2... C_SHORT checking KIND value >> of Fortran C_SHORT... 2 checking if Fortran compiler supports >> LOGICAL*4... yes checking size of Fortran LOGICAL*4... 4 checking for >> C type corresponding to LOGICAL*4... int checking alignment of >> Fortran LOGICAL*4... 4 checking for corresponding KIND value of >> LOGICAL*4... C_INT checking KIND value of Fortran C_INT... (cached) 4 >> checking if Fortran compiler supports LOGICAL*8... yes checking size >> of Fortran LOGICAL*8... 8 checking for C type corresponding to >> LOGICAL*8... long long checking alignment of Fortran LOGICAL*8...
Re: [OMPI users] openmpi 1.8.1 gfortran not working
>> I have the following env variables set export OMPI_CC=gcc echo >> $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran >> echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC Dan Have you tried to set/export the compilers without the "OMPI_" prefix? (CC, CXX, FC) Then "make distclean; configure; make; make install". Gus Correa On 08/04/2014 04:10 PM, Dan Shell wrote: Ralph Ok I will give that a try Thanks Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph Castain Sent: Monday, August 04, 2014 3:11 PM To: Open MPI Users Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working I know there were some lingering issues in 1.8.1 - you might want to try the latest nightly 1.8 tarball as I believe things have been fixed now. On Aug 4, 2014, at 11:09 AM, Dan Shell wrote: openmpi I have the following env variables set export OMPI_CC=gcc echo $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC I run the configure script See fortran section below Looks like mpifort should be configure From what I can tell make install is fine When I goto the command line and type mpifort I get the wrapper.txt error message: "No underlying compiler was specified in the wrapper compiler data file" mpifort.wrapper.txt is in the right place gfortran is installed correctly on unbuntu 10 linux PC Any help is greatly appreciated Dan Shell ** Fortran compiler checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking whether ln -s works... yes checking if Fortran compiler works... yes checking for extra arguments to build a shared library... none needed checking for Fortran flag to compile .f files... none checking for Fortran flag to compile .f90 files... none checking to see if Fortran compilers need additional linker flags... none checking external symbol convention... single underscore checking if C and Fortran are link compatible... yes checking to see if Fortran compiler likes the C++ exception flags... skipped (no C++ exceptions flags) checking to see if mpifort compiler needs additional linker flags... none checking if Fortran compiler supports CHARACTER... yes checking size of Fortran CHARACTER... 1 checking for C type corresponding to CHARACTER... char checking alignment of Fortran CHARACTER... 1 checking for corresponding KIND value of CHARACTER... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... 1 checking if Fortran compiler supports LOGICAL... yes checking size of Fortran LOGICAL... 4 checking for C type corresponding to LOGICAL... int checking alignment of Fortran LOGICAL... 4 checking for corresponding KIND value of LOGICAL... C_INT checking KIND value of Fortran C_INT... 4 checking if Fortran compiler supports LOGICAL*1... yes checking size of Fortran LOGICAL*1... 1 checking for C type corresponding to LOGICAL*1... char checking alignment of Fortran LOGICAL*1... 1 checking for corresponding KIND value of LOGICAL*1... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports LOGICAL*2... yes checking size of Fortran LOGICAL*2... 2 checking for C type corresponding to LOGICAL*2... short checking alignment of Fortran LOGICAL*2... 2 checking for corresponding KIND value of LOGICAL*2... C_SHORT checking KIND value of Fortran C_SHORT... 2 checking if Fortran compiler supports LOGICAL*4... yes checking size of Fortran LOGICAL*4... 4 checking for C type corresponding to LOGICAL*4... int checking alignment of Fortran LOGICAL*4... 4 checking for corresponding KIND value of LOGICAL*4... C_INT checking KIND value of Fortran C_INT... (cached) 4 checking if Fortran compiler supports LOGICAL*8... yes checking size of Fortran LOGICAL*8... 8 checking for C type corresponding to LOGICAL*8... long long checking alignment of Fortran LOGICAL*8... 8 checking for corresponding KIND value of LOGICAL*8... C_LONG_LONG checking KIND value of Fortran C_LONG_LONG... 8 checking if Fortran compiler supports INTEGER... yes checking size of Fortran INTEGER... 4 checking for C type corresponding to INTEGER... int checking alignment of Fortran INTEGER... 4 checking for corresponding KIND value of INTEGER... C_INT checking KIND value of Fortran C_INT... (cached) 4 checking if Fortran compiler supports INTEGER*1... yes checking size of Fortran INTEGER*1... 1 checking for C type corresponding to INTEGER*1... char checking alignment of Fortran INTEGER*1... 1 checking for corresponding KIND value of INTEGER*1... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports INTEGER*2... yes checking size of Fortran INTEGER*2... 2 checking for C type corresponding to INTEGER*2... short checking alignment of Fortran INTEGER*2... 2 checking for
Re: [OMPI users] openmpi 1.8.1 gfortran not working
Ralph Ok I will give that a try Thanks Dan Shell -Original Message- From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph Castain Sent: Monday, August 04, 2014 3:11 PM To: Open MPI Users Subject: Re: [OMPI users] openmpi 1.8.1 gfortran not working I know there were some lingering issues in 1.8.1 - you might want to try the latest nightly 1.8 tarball as I believe things have been fixed now. On Aug 4, 2014, at 11:09 AM, Dan Shell wrote: > openmpi > > I have the following env variables set export OMPI_CC=gcc echo > $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran > echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC > > I run the configure script > See fortran section below > Looks like mpifort should be configure From what I can tell make > install is fine When I goto the command line and type mpifort I get > the wrapper.txt error > message: > "No underlying compiler was specified in the wrapper compiler data file" > mpifort.wrapper.txt is in the right place > > gfortran is installed correctly on unbuntu 10 linux PC > > Any help is greatly appreciated > Dan Shell > > ** Fortran compiler > checking for gfortran... gfortran > checking whether we are using the GNU Fortran compiler... yes checking > whether gfortran accepts -g... yes checking whether ln -s works... yes > checking if Fortran compiler works... yes checking for extra arguments > to build a shared library... none needed checking for Fortran flag to > compile .f files... none checking for Fortran flag to compile .f90 > files... none checking to see if Fortran compilers need additional > linker flags... none checking external symbol convention... single > underscore checking if C and Fortran are link compatible... yes > checking to see if Fortran compiler likes the C++ exception flags... > skipped (no C++ exceptions flags) checking to see if mpifort compiler > needs additional linker flags... none checking if Fortran compiler > supports CHARACTER... yes checking size of Fortran CHARACTER... 1 > checking for C type corresponding to CHARACTER... char checking > alignment of Fortran CHARACTER... 1 checking for corresponding KIND > value of CHARACTER... C_SIGNED_CHAR checking KIND value of Fortran > C_SIGNED_CHAR... 1 checking if Fortran compiler supports LOGICAL... > yes checking size of Fortran LOGICAL... 4 checking for C type > corresponding to LOGICAL... int checking alignment of Fortran > LOGICAL... 4 checking for corresponding KIND value of LOGICAL... C_INT > checking KIND value of Fortran C_INT... 4 checking if Fortran compiler > supports LOGICAL*1... yes checking size of Fortran LOGICAL*1... 1 > checking for C type corresponding to LOGICAL*1... char checking > alignment of Fortran LOGICAL*1... 1 checking for corresponding KIND > value of LOGICAL*1... C_SIGNED_CHAR checking KIND value of Fortran > C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports > LOGICAL*2... yes checking size of Fortran LOGICAL*2... 2 checking for > C type corresponding to LOGICAL*2... short checking alignment of > Fortran LOGICAL*2... 2 checking for corresponding KIND value of > LOGICAL*2... C_SHORT checking KIND value of Fortran C_SHORT... 2 > checking if Fortran compiler supports LOGICAL*4... yes checking size > of Fortran LOGICAL*4... 4 checking for C type corresponding to > LOGICAL*4... int checking alignment of Fortran LOGICAL*4... 4 checking > for corresponding KIND value of LOGICAL*4... C_INT checking KIND value > of Fortran C_INT... (cached) 4 checking if Fortran compiler supports > LOGICAL*8... yes checking size of Fortran LOGICAL*8... 8 checking for > C type corresponding to LOGICAL*8... long long checking alignment of > Fortran LOGICAL*8... 8 checking for corresponding KIND value of > LOGICAL*8... C_LONG_LONG checking KIND value of Fortran C_LONG_LONG... > 8 checking if Fortran compiler supports INTEGER... yes checking size > of Fortran INTEGER... 4 checking for C type corresponding to > INTEGER... int checking alignment of Fortran INTEGER... 4 checking for > corresponding KIND value of INTEGER... C_INT checking KIND value of > Fortran C_INT... (cached) 4 checking if Fortran compiler supports > INTEGER*1... yes checking size of Fortran INTEGER*1... 1 checking for > C type corresponding to INTEGER*1... char checking alignment of > Fortran INTEGER*1... 1 checking for corresponding KIND value of > INTEGER*1... C_SIGNED_CHAR checking KIND value of Fortran > C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports > INTEGER*2... yes checking size of Fortran INTEGER*2... 2 checking for > C type corresponding to INTEGER*2... short checking alignment of > Fortran INTEGER*2... 2 checking for corresponding KIND value
Re: [OMPI users] openmpi 1.8.1 gfortran not working
I know there were some lingering issues in 1.8.1 - you might want to try the latest nightly 1.8 tarball as I believe things have been fixed now. On Aug 4, 2014, at 11:09 AM, Dan Shell wrote: > openmpi > > I have the following env variables set > export OMPI_CC=gcc > echo $OMPI_CC > export OMPI_CXX=g++ > echo $OMPI_CXX > export OMPI_F77=gfortran > echo $OMPI_F77 > export OMPI_FC=gfortran > echo $OMPI_FC > > I run the configure script > See fortran section below > Looks like mpifort should be configure > From what I can tell make install is fine > When I goto the command line and type mpifort I get the wrapper.txt error > message: > "No underlying compiler was specified in the wrapper compiler data file" > mpifort.wrapper.txt is in the right place > > gfortran is installed correctly on unbuntu 10 linux PC > > Any help is greatly appreciated > Dan Shell > > ** Fortran compiler > checking for gfortran... gfortran > checking whether we are using the GNU Fortran compiler... yes > checking whether gfortran accepts -g... yes > checking whether ln -s works... yes > checking if Fortran compiler works... yes > checking for extra arguments to build a shared library... none needed > checking for Fortran flag to compile .f files... none > checking for Fortran flag to compile .f90 files... none > checking to see if Fortran compilers need additional linker flags... none > checking external symbol convention... single underscore > checking if C and Fortran are link compatible... yes > checking to see if Fortran compiler likes the C++ exception flags... skipped > (no C++ exceptions flags) > checking to see if mpifort compiler needs additional linker flags... none > checking if Fortran compiler supports CHARACTER... yes > checking size of Fortran CHARACTER... 1 > checking for C type corresponding to CHARACTER... char > checking alignment of Fortran CHARACTER... 1 > checking for corresponding KIND value of CHARACTER... C_SIGNED_CHAR > checking KIND value of Fortran C_SIGNED_CHAR... 1 > checking if Fortran compiler supports LOGICAL... yes > checking size of Fortran LOGICAL... 4 > checking for C type corresponding to LOGICAL... int > checking alignment of Fortran LOGICAL... 4 > checking for corresponding KIND value of LOGICAL... C_INT > checking KIND value of Fortran C_INT... 4 > checking if Fortran compiler supports LOGICAL*1... yes > checking size of Fortran LOGICAL*1... 1 > checking for C type corresponding to LOGICAL*1... char > checking alignment of Fortran LOGICAL*1... 1 > checking for corresponding KIND value of LOGICAL*1... C_SIGNED_CHAR > checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 > checking if Fortran compiler supports LOGICAL*2... yes > checking size of Fortran LOGICAL*2... 2 > checking for C type corresponding to LOGICAL*2... short > checking alignment of Fortran LOGICAL*2... 2 > checking for corresponding KIND value of LOGICAL*2... C_SHORT > checking KIND value of Fortran C_SHORT... 2 > checking if Fortran compiler supports LOGICAL*4... yes > checking size of Fortran LOGICAL*4... 4 > checking for C type corresponding to LOGICAL*4... int > checking alignment of Fortran LOGICAL*4... 4 > checking for corresponding KIND value of LOGICAL*4... C_INT > checking KIND value of Fortran C_INT... (cached) 4 > checking if Fortran compiler supports LOGICAL*8... yes > checking size of Fortran LOGICAL*8... 8 > checking for C type corresponding to LOGICAL*8... long long > checking alignment of Fortran LOGICAL*8... 8 > checking for corresponding KIND value of LOGICAL*8... C_LONG_LONG > checking KIND value of Fortran C_LONG_LONG... 8 > checking if Fortran compiler supports INTEGER... yes > checking size of Fortran INTEGER... 4 > checking for C type corresponding to INTEGER... int > checking alignment of Fortran INTEGER... 4 > checking for corresponding KIND value of INTEGER... C_INT > checking KIND value of Fortran C_INT... (cached) 4 > checking if Fortran compiler supports INTEGER*1... yes > checking size of Fortran INTEGER*1... 1 > checking for C type corresponding to INTEGER*1... char > checking alignment of Fortran INTEGER*1... 1 > checking for corresponding KIND value of INTEGER*1... C_SIGNED_CHAR > checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 > checking if Fortran compiler supports INTEGER*2... yes > checking size of Fortran INTEGER*2... 2 > checking for C type corresponding to INTEGER*2... short > checking alignment of Fortran INTEGER*2... 2 > checking for corresponding KIND value of INTEGER*2... C_SHORT > checking KIND value of Fortran C_SHORT... (cached) 2 > checking if Fortran compiler supports INTEGER*4... yes > checking size of Fortran INTEGER*4... 4 > checking for C type corresponding to INTEGER*4... int > checking alignment of Fortran INTEGER*4... 4 > checking for corresponding KIND value of INTEGER*4... C_INT > checking KIND value of Fortran C_INT... (cached) 4 > checking if Fortran compiler supports INTEGER*8... yes > checking size of Fortran INTEGER*8... 8 > checking for
[OMPI users] openmpi 1.8.1 gfortran not working
openmpi I have the following env variables set export OMPI_CC=gcc echo $OMPI_CC export OMPI_CXX=g++ echo $OMPI_CXX export OMPI_F77=gfortran echo $OMPI_F77 export OMPI_FC=gfortran echo $OMPI_FC I run the configure script See fortran section below Looks like mpifort should be configure >From what I can tell make install is fine When I goto the command line and type mpifort I get the wrapper.txt error message: "No underlying compiler was specified in the wrapper compiler data file" mpifort.wrapper.txt is in the right place gfortran is installed correctly on unbuntu 10 linux PC Any help is greatly appreciated Dan Shell ** Fortran compiler checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking whether ln -s works... yes checking if Fortran compiler works... yes checking for extra arguments to build a shared library... none needed checking for Fortran flag to compile .f files... none checking for Fortran flag to compile .f90 files... none checking to see if Fortran compilers need additional linker flags... none checking external symbol convention... single underscore checking if C and Fortran are link compatible... yes checking to see if Fortran compiler likes the C++ exception flags... skipped (no C++ exceptions flags) checking to see if mpifort compiler needs additional linker flags... none checking if Fortran compiler supports CHARACTER... yes checking size of Fortran CHARACTER... 1 checking for C type corresponding to CHARACTER... char checking alignment of Fortran CHARACTER... 1 checking for corresponding KIND value of CHARACTER... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... 1 checking if Fortran compiler supports LOGICAL... yes checking size of Fortran LOGICAL... 4 checking for C type corresponding to LOGICAL... int checking alignment of Fortran LOGICAL... 4 checking for corresponding KIND value of LOGICAL... C_INT checking KIND value of Fortran C_INT... 4 checking if Fortran compiler supports LOGICAL*1... yes checking size of Fortran LOGICAL*1... 1 checking for C type corresponding to LOGICAL*1... char checking alignment of Fortran LOGICAL*1... 1 checking for corresponding KIND value of LOGICAL*1... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports LOGICAL*2... yes checking size of Fortran LOGICAL*2... 2 checking for C type corresponding to LOGICAL*2... short checking alignment of Fortran LOGICAL*2... 2 checking for corresponding KIND value of LOGICAL*2... C_SHORT checking KIND value of Fortran C_SHORT... 2 checking if Fortran compiler supports LOGICAL*4... yes checking size of Fortran LOGICAL*4... 4 checking for C type corresponding to LOGICAL*4... int checking alignment of Fortran LOGICAL*4... 4 checking for corresponding KIND value of LOGICAL*4... C_INT checking KIND value of Fortran C_INT... (cached) 4 checking if Fortran compiler supports LOGICAL*8... yes checking size of Fortran LOGICAL*8... 8 checking for C type corresponding to LOGICAL*8... long long checking alignment of Fortran LOGICAL*8... 8 checking for corresponding KIND value of LOGICAL*8... C_LONG_LONG checking KIND value of Fortran C_LONG_LONG... 8 checking if Fortran compiler supports INTEGER... yes checking size of Fortran INTEGER... 4 checking for C type corresponding to INTEGER... int checking alignment of Fortran INTEGER... 4 checking for corresponding KIND value of INTEGER... C_INT checking KIND value of Fortran C_INT... (cached) 4 checking if Fortran compiler supports INTEGER*1... yes checking size of Fortran INTEGER*1... 1 checking for C type corresponding to INTEGER*1... char checking alignment of Fortran INTEGER*1... 1 checking for corresponding KIND value of INTEGER*1... C_SIGNED_CHAR checking KIND value of Fortran C_SIGNED_CHAR... (cached) 1 checking if Fortran compiler supports INTEGER*2... yes checking size of Fortran INTEGER*2... 2 checking for C type corresponding to INTEGER*2... short checking alignment of Fortran INTEGER*2... 2 checking for corresponding KIND value of INTEGER*2... C_SHORT checking KIND value of Fortran C_SHORT... (cached) 2 checking if Fortran compiler supports INTEGER*4... yes checking size of Fortran INTEGER*4... 4 checking for C type corresponding to INTEGER*4... int checking alignment of Fortran INTEGER*4... 4 checking for corresponding KIND value of INTEGER*4... C_INT checking KIND value of Fortran C_INT... (cached) 4 checking if Fortran compiler supports INTEGER*8... yes checking size of Fortran INTEGER*8... 8 checking for C type corresponding to INTEGER*8... long long checking alignment of Fortran INTEGER*8... 8 checking for corresponding KIND value of INTEGER*8... C_LONG_LONG checking KIND value of Fortran C_LONG_LONG... (cached) 8 checking if Fortran compiler supports INTEGER*16... no checking if Fortran compiler supports REAL... yes checking size of Fortran REAL... 4 checking for C type corresponding to REAL... float