- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
Ссылка скопирована
6 Ответы
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
OK i will look up the help files for more info. thanks for the advice.![smiley [:-)]](/file/6746)
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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!
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Where did netcdf.mod come from? I assume you did not compile it using ifort.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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!
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Reinstalled netCDF library using ifort for fortran and now it works.
Thanks!!
Thanks!!

Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати