Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-25 Thread Elio Physics
First of all, I really want to thank Gilles, Thomas and Gus for their time in helping me as much as possible with my problem. Problem was resolved. Actually, i have forgotten to include the libraries in the PBS script.. The cluster we have provides modules of libraries such as :

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-24 Thread Gus Correa
Hi Elie Besides Gilles' and Thomas' suggestions: 1) Do you have any file system in your cluster head node that is an NFS export, and presumably mounted on the compute nodes? If you do, that would be the best place to install the Intel compiler. This would make it available on the compute

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-24 Thread Tim Prince
On 3/24/2016 12:01 AM, Gilles Gouaillardet wrote: > Elio, > > usually, /opt is a local filesystem, so it is possible /opt/intel is > only available on your login nodes. > > your best option is to ask your sysadmin where the mkl libs are on the > compute nodes, and/or how to use mkl in your jobs.

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-24 Thread Thomas Jahns
Hello, On 03/24/2016 03:22 AM, Gilles Gouaillardet wrote: it seems /opt/intel/composer_xe_2013_sp1/bin/compilervars.sh is only available on your login/frontend nodes, but not on your compute nodes. you might be luckier with /opt/intel/mkl/bin/mklvars.sh an other option is to ldd

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-24 Thread Gilles Gouaillardet
Elio, usually, /opt is a local filesystem, so it is possible /opt/intel is only available on your login nodes. your best option is to ask your sysadmin where the mkl libs are on the compute nodes, and/or how to use mkl in your jobs. feel free to submit a dumb pbs script ls -l /opt ls -l

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-24 Thread Elio Physics
Dear Gilles, thanks for your reply and your options. I have tried the first option, hich for me basically is the easiest. I have compiled using "make.inc" but now setting LIB = -L/opt/intel/mkl/lib/intel64 -lmkl_blas95_lp64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential

Re: [OMPI users] Problems in compiling a code with dynamic linking

2016-03-23 Thread Gilles Gouaillardet
Elio, it seems /opt/intel/composer_xe_2013_sp1/bin/compilervars.sh is only available on your login/frontend nodes, but not on your compute nodes. you might be luckier with /opt/intel/mkl/bin/mklvars.sh an other option is to ldd /home/emoujaes/Elie/SPRKKR/bin/kkrscf6.3MPI on your login node,