Hi Rick,
Thanks for your reply and concern.
Actually, Saji already gave me a solution (attached files) which is written
in Ruby language.
I guess this can be utilized in most cases.
If anyone wants to install Ruby, please refer
http://www.ruby-lang.org/en/downloads/.
Thanks again,
Kyong-Hee
_____
From: Rick Brownrigg [mailto:brownrig_at_ucar.edu]
Sent: Saturday, September 26, 2009 12:46 AM
To: Kyong-Hee An
Cc: ncl-talk_at_ucar.edu
Subject: Re: [WRAPIT] compiling options for fortran program
Hi,
Can you provide an example of the compilation errors you get on these new
systems, or possible an small example program that won't compile?
Rick
On Sep 24, 2009, at 6:51 PM, Kyong-Hee An wrote:
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
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.2.0 : Tue Sep 29 2009 - 10:11:39 MDT