[Omp] OpenMP and MKL
Xiao Dong
xxd104 at gmail.com
Fri Sep 16 15:16:44 PDT 2005
Hello there,
This is a question concerning enabling OpenMP of the Intel MKL.
I'm working on an Altix machine, and I compiled my program with:
ifort -openmp -parallel -O3 -threads -ipo $myprograms \
-L/opt/intel/mkl72/lib/64/ -lmkl_lapack64 -lmkl -lguide -lpthread -o
myprogram.exe
Then I submitted it through PBS:
#!/bin/csh
#PBS -l ncpus=4
#PBS -N adaptive_ca
setenv KMP_STACKSIZE 1g
setenv OMP_DYNAMIC FALSE
setenv KMP_LIBRARY turnaround
setenv OMP_NUM_THREADS 4
setenv NCPUS 4
limit stacksize 60000000
cd $PBS_O_WORKDIR
../myprogram.exe > log.a
THE PROBLEM IS, when I type: ps -u myuser -m, it's vivid it's only taking
two processors.
974 ? 00:00:00 940.bach.SC <http://940.bach.SC>
- - 00:00:00 -
981 ? 00:08:41 myprogram.exe
- - 00:08:40 -
- - 00:00:00 -
- - 00:00:00 -
- - 00:00:00 -
- - 00:00:00 -
1055 pts/7 00:00:00 ps
- - 00:00:00 -
Does anyone know what's happening there?
Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openmp.org/pipermail/omp/attachments/20050916/66f066af/attachment.html
More information about the Omp
mailing list