Dear NCL user,
When I use WRAPIT, there is a problem with compiling option for fortran
program.
Currently, out system is using Redhat Enterprise 5 64bit and PGI 6.0.
The below is the compiling options which do work well now.
================================
`pgcc -tp=px -fPIC -c #{basename}_W.c -I${NCARG_ROOT}/include`
`pgf90 -tp=px -c #{basename}.#{ext}`
`pgf90 -tp=px -fPIC -shared -o #{basename}.so #{basename}_W.o #{basename}.o
-lpgf90`
================================
** #{basename} is fortran file name
Please advise me how I could adapt these options to the below system.
1. OS: Ubuntu 9.10 64bit.
gcc: 4.3.3
ncl: 5.1.1 x86_64 gcc 4.3.2 (opendap enabled)
gfortran: 4.3
2. OS: Redhat Enterprise 5 64bit
gcc: 4.1.2
ncl: 5.0.0 x86_64 gcc4
gfortran: 4.1.2
Thanks a lot for your consideration,
Kyong-Hee
==============================================
Climate Application Team(CAT), APEC Climate Center(APCC)
1463 U-dong, Haeundae-gu, Busan, Republic of Korea
Tel: +82-51-745-3952
Fax: +82-51-745-3999
E-mail: khan_at_apcc21.net
===============================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 24 2009 - 18:51:28 MDT
This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 11:02:31 MDT