I'm not a Fortran90 expert, so I don't know if the program below has an illegal declaration or if the compiler has a bug:
integer, parameter, dimension(3) :: nxyz = 32
integer, parameter :: nx=2, ny=2, nz=2
real, parameter, dimension(3) :: xyz_range = (/ nx, ny, nz /)
real, parameter, dimension(3) :: b0 = nxyz*nxyz/xyz_range
The compiler (Intel Fortran compiler 8.0 on RedHat 9) outputs:
I'm trying to compile mpich 184.108.40.206 with the IFORT 8.0 on Red Hat 7.3. I use the following commands...
./configure -prefix=/opt/intel_mpich --enable-f90modules --with-arch=LINUX -c++=/opt/intel/bin/icc -cc=/opt/intel/bin/icc -fc=/opt/intel/bin/ifort -f90=/opt/intel/bin/ifort
then we make and get the following errors...
making Fortran 90 module for MPI
Types are integer integer1 integer2 integer8 real real16 real8 complex complex16 logical logical1 logical2 logical8
/opt/intel/bin/ifort -c -I../include mpi_constants.f90
I am writing a program with a mandate to use nothing but Fortran. However, I need to call the C library routines mmap, msync, and munmap.
The code is all in place and compiles fine but when I compile I get unresolved synbol errors for mmap_, msync_, and munmap_. Aparently, the compiler is trying to tack on underscore onto the function names. If I compile with -nus I get unresolved symbols for all the external fortran routines I am calling but none for the C library functions.
When compiling a program with OpenMP in Mandrake 9.2, I get undefined references to wait_ and fork_ functions, which I think should be provided by the system.
I use the following command to compile:
ifc -WB -w90 -w95 -O2 -tpp7 -openmp -align -Zp8 -axW -ipo -ipo_obj -unroll -c
and this flags to link
-Vaxlib -lpthread -lsvml -lguide -openmp -ipo
Does somebody know, if it is possible to use the Intel Fortran compiler with the Eclipse IDE?
I have found instructions on how to plug-in the C++ compiler, but not the Fortran one.
In case it is not possible yet, does somebody know when?
Thanks in advance
When linking I get an error
ld: fatal: symbol `realnumofbins_' is multiply defined:
(file align.o and file waddTempl.o);
about 20 times with diferent second .o file.
Could someone tell me what to do with this? This program is not mine I just have to compile it. It was originally written for HP OS and I want to compile it on SunOS. I read f77 manual but didn't find (surely missed one) any flag I could use to let linker ignore this problem (if it is possible).
A code that use to compile with ifc, now produce the following
at compilation time.
/tmp/ifcLXalxY.o(.text+0x1500c): rfrence indfinie vers des_
/tmp/ifcLXalxY.o(.text+0x150cc): rfrence indfinie vers des_
/tmp/ifcLXalxY.o(.text+0x150e5): rfrence indfinie vers des_
/tmp/ifcLXalxY.o(.text+0x17778): rfrence indfinie vers list_
/tmp/ifcLXalxY.o(.text+0x18a38): rfrence indfinie vers list_
/tmp/ifcLXalxY.o(.text+0x1a9f9): rfrence indfinie vers des_
/tmp/ifcLXalxY.o(.text+0x1aa12): rfrence indfinie vers des_
mkdir /opt/intel mkdir /opt/intel/licenses cp/home/peng/src/l_for_97501171.lic /opt/intel/licenses/ ./install.sh then, I got the following messages. [root@localhost l_fc_p_8.0.034]# ./install.sh
A valid FLEXlm license is required to install this product, but none were found
IinstallIntelFortran90Compiler inFreeBSD according this following link :