PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Ubuntu 13.04 64bits

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
ignacio82



Joined: 25 Jul 2013
Posts: 6

PostPosted: Sun Aug 18, 2013 2:48 am    Post subject: Ubuntu 13.04 64bits Reply with quote

I'm following the installation guide but encountering some problems.
This is the first error I get when trying to install
Code:

Installing PGI MPICH1 components into /opt/pgi
This might take awhile ...
/home/ignacio/Downloads/pgilinux-2013-137/install_mpich: 109: /home/ignacio/Downloads/pgilinux-2013-137/install_mpich: cannot create /opt/pgi/linux86/13.7/bin/localrc: Directory nonexistent

See the files /opt/pgi/linux86-64/13.7/mpi.csh[,.sh]
for examples of how to set your environment to run and debug MPI programs.
 
./install: 694: cd: can't cd to /opt/pgi/linux86/13.7
ln: failed to create symbolic link ‘./mpi’: File exists
ln: failed to create symbolic link ‘./mpi’: File exists


What am I doing wrong? How can I fix it?

Thanks!
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 395

PostPosted: Mon Aug 19, 2013 3:16 pm    Post subject: Reply with quote

Make sure you have gcc support for both 32-bit and 64-bit compiles, in your $PATH, and make sure it is the same gcc compilers as when you use gcc.

Take a simple hello.c program.

% gcc -m64 -o hello_64 hello.c
% file hello_64
% gcc -m32 -o hello_32 hello.c
% file hello_32


Then install the compilers. A localrc file should be create in each PGI bin directory which will ndicate whjere gcc is.


No 32-bit gcc, means no 32-bit pgcc/pgfortran .


dave
Back to top
View user's profile
David Norton



Joined: 18 Aug 2004
Posts: 20

PostPosted: Wed Aug 28, 2013 9:58 pm    Post subject: Reply with quote

As Dave says, it looks like you don't have the gcc 32 bit libraries installed.

Try:

> sudo apt-get install gcc-multilib lib6-i386
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
Page 1 of 1

 
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