PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Issues installing netcdf with PGI compilers
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
karthik0



Joined: 20 Sep 2012
Posts: 5

PostPosted: Thu Sep 20, 2012 1:09 pm    Post subject: Issues installing netcdf with PGI compilers Reply with quote

Hi,

I'm trying to install netcdf 4.2.1.1 while including my installed PGI compilers.

My issue is that while I try to do so, I run into the error which states,


Quote:

configure: error: C compiler cannot create executables
See `config.log' for more details


and the offending line in config.log states:
Quote:

configure:4136: checking whether the C compiler works
configure:4158: pgcc -o2 -Msignextend -V -DNDEBUG -DpgiFortran conftest.c >&5
pgi-cc-lin64: LICENSE MANAGER PROBLEM: No such feature exists.
Feature: pgi-cc-lin64
License path: /opt/pgi/license.dat:
FLEXnet Licensing error:-5,357
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".

pgcc 11.8-0 64-bit target on x86-64 Linux -tp nehalem
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2011, STMicroelectronics, Inc. All Rights Reserved.
configure:4162: $? = 2
configure:4200: result: no
configure: failed program was:
| /* confdefs.h */


My version of the compiler is 11.8, I'm certain that the license file manager is running and pointing at the right license file. I am also fairly certain that my license purchase does cover the version of the compiler I'm using.

The OS i'm running is Ubuntu 12.04. Any help would be much appreciated.

Thanks!
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Sep 20, 2012 4:31 pm    Post subject: Reply with quote

Hi karthik0,

This message typically means that your license isn't enabled for this feature, in this case the 64-bit PGI C compilers. Can you send this issue to PGU Customer Service (trs@pgroup.com)? Please include the PIN number for the license that your using (or just send them the full license.dat file if you don't know the PIN number).

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



Joined: 20 Sep 2012
Posts: 5

PostPosted: Fri Sep 21, 2012 3:09 pm    Post subject: Reply with quote

Hi Mat,

Thanks for your quick reply. I contacted Customer Service and they pointed out that my license covers only the use of Fortran compilers, and not the C/C++ compilers.

Hence, now I'm using gcc & g++ in the environment variables. I also reverted to installing netcdf 3.6.3, as I don't need HDF5 and do not wish to go about installing it.

Now, I seem to run into the error :
Quote:
configure: error: Could not link conftestf.o and conftest.o


Any suggestions?

Thanks!
Back to top
View user's profile
karthik0



Joined: 20 Sep 2012
Posts: 5

PostPosted: Sun Sep 23, 2012 11:48 am    Post subject: Reply with quote

The portion in config.log related to the above mentioned error is :

Quote:
configure:23876: pgf90 -o conftest -g conftestf.o conftest.o
/usr/bin/ld: error: cannot open /usr/lib64/crt1.o: No such file or directory
/usr/bin/ld: error: cannot open /usr/lib64/crti.o: No such file or directory
/usr/bin/ld: error: /opt/pgi/linux86-64/11.8/lib/pgi.ld: SECTIONS seen after other input files; try -T/--script
/usr/bin/ld: error: cannot open /usr/lib64/crtn.o: No such file or directory
/usr/bin/ld: internal error in write_sections, at ../../gold/reloc.cc:830
configure:23879: $? = 2
configure:23902: error: Could not link conftestf.o and conftest.o
Back to top
View user's profile
karthik0



Joined: 20 Sep 2012
Posts: 5

PostPosted: Sun Sep 23, 2012 2:20 pm    Post subject: Reply with quote

Also, perhaps in a related issue, trying to compile a simple "hello world" program causes the following error :

Quote:
/usr/bin/ld: cannot find /usr/lib64/crt1.o: No such file or directory
/usr/bin/ld: cannot find /usr/lib64/crti.o: No such file or directory
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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