[Thread Prev][Thread Next][Index]

[ferret_users] FERRET compilation on Debian 7

Dear Ferret users,

I'm trying to compile FERRET from the sources on a Debian 7 machine.

$ uname -a
Linux foudre 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5'
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
$ echo $SHELL

On my 'site_specific.mk', I'm using my own locally compiled netcdf and hdf
libraries and the:
 BUILDTYPE      = x86_64-linux

I installed different packages and defined CPP_X11 variable during the
process (I might have some other useful packages from other
  $ apt-get install libx11-dev
  $ apt-get install libxmu-dev
  $ export CPP_X11=/usr/include/X11

Up to now fine, but, when I am running make:
$ make
gfortran -I. -I../fmt/cmn/ -I/home/lluis/bin/gcc_netcdf/4.3.0/include
-I/usr/lib//include -I../common -I../../fmt/cmn -I../../ppl/include
-I../../fer/common -I../../ppl/include/xgks -I../../xgks/src/lib
-Ipplinc/xgks -I../../xgks/port  -I/usr/local/include -m64 -fPIC -Dunix
-fno-second-underscore -fdollar-ok -ffixed-line-length-132
-ffpe-trap=overflow -fdefault-real-8 -fdefault-double-8
-I../../ppl/tmap_inc -I../include -I../../fmt/cmn -I../common
-I../../ppl/include -I../../fer/common -O -DNDEBUG -c ave_scat2grid_t.F -o
    Included at ave_scat2grid_t.F:208:

Error: COMMON block 'ferret_ef_mem_subsc' at (1) can not have the EXTERNAL

It looks like that there are some issues on the Fortran code than the gcc
4.7.2 can not understand? I look on the code at line #208 and such line of
code is not there.

Thank you very much for our help,


--- -- -

Dr. Lluís Fita Borrell
Laboratoire de Météorologie Dynamique, IPSL
Université Pierre et Marie curie
Tower 45-55, 2nd floor
4 place Jussieu
75252 Paris Cedex 05

Tel : +33 (0)1 44 27 53 47
Fax : +33 (0)1 44 27 62 72

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement