[WRAPIT] compiling options for fortran program

From: Kyong-Hee An <khan_at_nyahnyahspammersnyahnyah>
Date: Fri, 25 Sep 2009 09:51:28 +0900

Dear NCL user,


When I use WRAPIT, there is a problem with compiling option for fortran

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


** #{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,



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:
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