PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

C compiler cannot run C compiled programs
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
mkcolg



Joined: 30 Jun 2004
Posts: 5871
Location: The Portland Group Inc.

PostPosted: Wed May 18, 2005 11:41 am    Post subject: Reply with quote

Sorry Petero, I missed some files. Heres the complete configured files in a tar package. Note I created these files on a Pentium 4 system running SuSE 9.1.

- Mat
Back to top
View user's profile
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Wed May 18, 2005 1:45 pm    Post subject: Reply with quote

Mat,
Thank you so much for your help.I didn't get any errors!.
thanks,
take care,
petero
[/url]
Back to top
View user's profile
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Tue May 24, 2005 7:19 pm    Post subject: Reply with quote

Hi mat,
Soory for showing up again,
It seems that, the netCDF library wasn't correctly installed with pgf90 compiler.Because i was trying to link it with WRF 3DVAR software but , the netCDF library couldn't load the file wrfio_nf.
So i guess skipping the ./configure step during the netCDF installation could be the cause or do you have any suggestion may be?
petero.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5871
Location: The Portland Group Inc.

PostPosted: Wed May 25, 2005 9:39 am    Post subject: Reply with quote

Hi Petero,

While possible, its more likely a problem with your WRF configuration. What is the exact error? I'm wondering if you mean that your getting a link error like an undefined reference.

- Mat
Back to top
View user's profile
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Wed May 25, 2005 10:47 am    Post subject: Reply with quote

Mat,
Below is what happened, and i have bolded the error.
############################################

make[1]: Entering directory `/home/3dvar/dat_dir/wrf3dvar/main'
rm -f da_3dvar.o
sed /\!.\*\'/s/\'//g da_3dvar.F > da_3dvar.b
/lib/cpp -I../inc -I. -C -P -DDEREF_KLUDGE -DIO_DEREF_KLUDGE -DIWORDSIZE=4 -DRWORDSIZE=8 -DLWORDSIZE=4 -DNETCDF -DTRIEDNTRUE -DONLY_WRFMODEL_IO -DD3VAR_KLUDGE -DPGF90 -traditional da_3dvar.b > da_3dvar.f
rm -f da_3dvar.b
pgf90 -c -fast -r8 -Ktrap=fp -tp p6 -byteswapio -Mfree -g -I. -I../da_3dvar -I../external/io_netcdf -I../external/io_int -I../frame -I../share -I../inc da_3dvar.f
NOTE: your evaluation license will expire in 14 days, 23.7 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.

ranlib lib_3dvar.a
pgf90 -o da_3dvar.exe da_3dvar.o lib_3dvar.a -L../external/io_netcdf -lwrfio_nf -L/usr/local/netcdf-3.6.0-p1/lib -lnetcdf ../frame/internal_header_util.o ../frame/pack_utils.o
/usr/bin/ld: cannot find -lwrfio_nf

make[1]: [da_3dvar] Error 2 (ignored)
make[1]: Leaving directory `/home/3dvar/dat_dir/wrf3dvar/main'
( cd run ; /bin/rm -f da_3dvar.exe ; ln -s ../main/da_3dvar.exe . )
#############################################
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group