PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

installing and compiling netcdf-3.6.0-p1 with pgf90 compiler
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Fri Apr 29, 2005 10:39 am    Post subject: installing and compiling netcdf-3.6.0-p1 with pgf90 compiler Reply with quote

Hi all,
I'm trying to install and compiling netcdf-3.6.0-p1 with pgf90 compiler in Linux machine
[3dvar@drizzle bin]$ uname -a
Linux drizzle.hupas.howard.edu 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 i686 i686 i386 GNU/Linux
But i have a problem at "make install" step which keeps on installing the same ACML everytime n enters a loop/cycle.

Can anyone help me with this,
Peter
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Apr 29, 2005 11:38 am    Post subject: Reply with quote

Hi Peter,

We have a users guide on compiling NetCDF (http://www.pgroup.com/resources/netcdf/netcdf360_pgi60.htm). Perhaps this may help. If not, can you post a bit more information about the issue. I don't believe that the ACML library is needed for NetCDF so I don't quite understand the error.

Thanks,
Mat
Back to top
View user's profile
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Sun May 08, 2005 4:42 pm    Post subject: build and test netcdf-3.6.0-p1 with PGI 6.0 Reply with quote

Hi,
i'm trying to compile netcdf-3.6.0-p1 with PGI 6.0 compiler.And i was following the instructions at this link:http://www.pgroup.com/resources/netcdf/netcdf360_pgi60.htm
But i got these errors at ./configure step.These errors were in the file config.log
--------------------errors--------------------------------------------------------
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for top-level source-directory... /tmp/working/netcdf-3.6.0-p1/src
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
-------- ##

hostname = drizzle.hupas.howard.edu
uname -m = i686
uname -r = 2.4.20-28.8
uname -s = Linux
uname -v = #1 Thu Dec 18 12:53:39 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/lf9562/bin
PATH: /usr/bin/linux86-64/6.0/bin/pgf90
PATH: /home/3dvar/bin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin/linux86-64/6.0/bin
PATH: /usr/local/perl
PATH: usr/local/bin
PATH: /sbin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1369: checking build system type
configure:1387: result: i686-pc-linux-gnu
configure:1395: checking host system type
configure:1409: result: i686-pc-linux-gnu
configure:1421: checking for top-level source-directory
configure:1424: result: /tmp/working/netcdf-3.6.0-p1/src
configure:1531: checking for C compiler version
configure:1534: pgcc --version </dev/null >&5
./configure: line 1: /usr/bin/linux86-64/6.0/bin/pgcc: cannot execute binary file
configure:1537: $? = 126
configure:1539: pgcc -v </dev/null >&5
./configure: line 1: /usr/bin/linux86-64/6.0/bin/pgcc: cannot execute binary file
configure:1542: $? = 126
configure:1544: pgcc -V </dev/null >&5
./configure: line 1: /usr/bin/linux86-64/6.0/bin/pgcc: cannot execute binary file
configure:1547: $? = 126
configure:1570: checking for C compiler default output file name
configure:1573: pgcc -02 -Msignextend -V -DNDEBUG -DpgiFortran conftest.c >&5
./configure: line 1: /usr/bin/linux86-64/6.0/bin/pgcc: cannot execute binary file
configure:1576: $? = 126
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "netCDF"
| #define PACKAGE_TARNAME "netcdf"
| #define PACKAGE_VERSION "3.6.0"
| #define PACKAGE_STRING "netCDF 3.6.0"
| #define PACKAGE_BUGREPORT "support@unidata.ucar.edu"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1615: error: C compiler cannot create executables
See `config.log' for more details

-------------------END---------------------------------------------------------
Can anyone help me with this,
thanks,
petero
Back to top
View user's profile
mkcolg



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

PostPosted: Sun May 08, 2005 7:43 pm    Post subject: Reply with quote

Hi Petero,

For some reason your pgcc won't execute. Either your installation is corrupt, your don't have permissions set correctly, or there is a problem with your license.

Can you post the output of the following command. This might give us more information about what's going on.
Code:
ls -l  /usr/bin/linux86-64/6.0/bin/pgcc
 pgcc -V -dryrun x.c

Thanks,
-Mat
Back to top
View user's profile
petero



Joined: 30 Mar 2005
Posts: 23

PostPosted: Mon May 09, 2005 9:08 am    Post subject: compiling netcdf-3.6.0-p1 with PGI 6.0 compiler Reply with quote

Hi Mat,
thanks for reply,
Here is the output of commands you gave me,

[root@drizzle 3dvar]# ls -l /usr/bin/linux86-64/6.0/bin/pgcc
-rwxr-xr-x 1 909 1011 149288 Mar 28 12:54 /usr/bin/linux86-64/6.0/bin/pgcc
[root@drizzle 3dvar]# pgcc -V -dryrun x.c
bash: /usr/bin/linux86-64/6.0/bin/pgcc: cannot execute binary file
[root@drizzle 3dvar]#

thanks,
petero,
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 1, 2, 3  Next
Page 1 of 3

 
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