iso_c_binding question
Wilbert Weijer
wilbert@lanl.gov
Thu Oct 2 22:43:00 GMT 2008
Hi,
I'm sorry to bother you, but I just had my system administrator install
gcc 4.3.2, so that I can combine my fortran application with the
Trilinos c++ libraries.
However, including
use ,intrinsic :: iso_c_binding ,only : ....
in my code returns the error message:
gmake[1]: *** No rule to make target
`/home/wilbert/pop/compile/intrinsic.o', needed by
`/home/wilbert/pop/compile/ImplicitStepMod.o'. Stop.
while changing this to:
use iso_c_binding ,only :...
returns the similar:
gmake[1]: *** No rule to make target
`/home/wilbert/pop/compile/iso_c_binding.o', needed by
`/home/wilbert/pop/compile/ImplicitStepMod.o'. Stop.
Doing:
> gfortran --v
in the make directory returns:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.3.2/configure --prefix=/ccs/opt/x86/gcc-4.3.2
--with-mpfr-include=/ccs/opt/x86/mpfr-2.3.2/include --with-mpfr-
lib=/ccs/opt/x86/mpfr-2.3.2/lib
Thread model: posix
gcc version 4.3.2 (GCC)
which suggests that at least I *am* using the latest version of
gfortran.
Does anybody have an idea why gfortran does not seem to recognize
'intrinsic', nor 'iso_c_binding'?
Thanks!
-Wilbert.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wilbert Weijer Phone: (505) 667 7469
CCS-2, MS B296 Fax: (505) 667 5921
Los Alamos National Laboratory E-mail: wilbert@lanl.gov
Los Alamos, NM 87545 URL: http://public.lanl.gov/wilbert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Fortran
mailing list