- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi
I need to compile Fortran 90 code with link to MPI library. I have MPICH installed in this linux86_64 system, and have the mpif90 in the MPICH/bin directory. however when I try to use that compiler I get this error:
No Fortran 90 compiler specified when mpif90 was created,
or configuration file does not specify a compiler.
I downloaded the intel fortran compiler package but since my system is 64bit, and this compiler is for 32bit archictecture I didn't install the intel compiler. Any ideas as to what specific compiler I need to have? Any advice will be greatly appreciated.
Thanks
Nanda
I need to compile Fortran 90 code with link to MPI library. I have MPICH installed in this linux86_64 system, and have the mpif90 in the MPICH/bin directory. however when I try to use that compiler I get this error:
No Fortran 90 compiler specified when mpif90 was created,
or configuration file does not specify a compiler.
I downloaded the intel fortran compiler package but since my system is 64bit, and this compiler is for 32bit archictecture I didn't install the intel compiler. Any ideas as to what specific compiler I need to have? Any advice will be greatly appreciated.
Thanks
Nanda
- Balises:
- Intel® Fortran Compiler
Lien copié
6 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Both a 32- and a 64-bit compiler for x86-64 come in the standard Intel compiler packages. Both will work on an x86-64 system, although you would normally prefer the 64-bit. Nearly any version of MPI would support either, including several varieties of mpich, and Intel mpi, which is the only one likely to come pre-configured for Intel as well as gnu compilers. Generally, you can find advice in the help files and support groups which go with your choice of MPI on how to set up with ifort.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
OK i will look up the help files for more info. thanks for the advice.![smiley [:-)]](/file/6746)
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I installed the EM64T version of the compiler. But I get this error when I try to use ifort.
fortcom: Error: imagesxy.f90, line 9: This module file was not generated by any release of this compiler. [NETCDF]
use NETCDF
----^
Here's how the settings in the makefile looks:
F90 = /opt/intel/fce/9.1.037/bin/ifort
FFLAGS = -c -O2 -I/opt/netCDF/include
LDR = /opt/intel/fce/9.1.037/bin/ifort
LDRFLAGS =
LIBS = -ldl -lpthread -L/opt/netCDF/lib -lnetcdf
#LIBS = -L/opt/mpich-ch_P4-gcc-1.2.7/lib -lmpich -lfmpich -ldl -lpthread -L/opt/netCDF/lib -lnetcdf
Any suggestions as to what might be the problem here?
Thanks!
fortcom: Error: imagesxy.f90, line 9: This module file was not generated by any release of this compiler. [NETCDF]
use NETCDF
----^
Here's how the settings in the makefile looks:
F90 = /opt/intel/fce/9.1.037/bin/ifort
FFLAGS = -c -O2 -I/opt/netCDF/include
LDR = /opt/intel/fce/9.1.037/bin/ifort
LDRFLAGS =
LIBS = -ldl -lpthread -L/opt/netCDF/lib -lnetcdf
#LIBS = -L/opt/mpich-ch_P4-gcc-1.2.7/lib -lmpich -lfmpich -ldl -lpthread -L/opt/netCDF/lib -lnetcdf
Any suggestions as to what might be the problem here?
Thanks!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Where did netcdf.mod come from? I assume you did not compile it using ifort.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
netcdf.mod resides in /opt/netCDF/include/ directory. And yeah netCDF
was installed before I even installed the Intel compiler and there was
no ifort in my system from before. I just checked the README of
netCDF and it says whatever is default Fortran compiler in the system,
that will be used to build the netCDF fortran package. So you think I
should try to re-install netCDG using ifort for fortran compilation?
thanks!
thanks!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Reinstalled netCDF library using ifort for fortran and now it works.
Thanks!!
Thanks!!

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable