Hi,
This post is related to my recent one titled ‘acml’.
I am wondering about environment varaible issues, and optimal code compiling for my system. I have a2 processor, amd 2.4 GHz dual core machine running Suse 10.0 and PGI workstation compilers. In consultation with a partner I have added the following to my .bashrc file
PGI compiler paths
PGI=/usr/pgi; export PGI
MANPATH=$MANPATH:$PGI/linux86-64/6.1/man
export MANPATH
LM_LICENSE_FILE=$PGI/license.dat
export LM_LICENSE_FILE
PATH=$PGI/linux86-64/6.1/bin:$PATH
export PATH
export CC=pgcc
export CPP=pgCC
export CXX=pgCC
export OPT=“-tp=k8-64 -mp -Mcache_align”
Based on Mat’s second reply in the ‘acml’ post I think I should also add…
export NCPUS=2
and change the opt time to have
export OPT=“-tp=k8-64 -mp -Mcache_align -Mconcur -Minfo -Mneginfo=concur”
My questions then are…
- What do all those OPT items do, and is it ok to have them in my .bashrc, or is it better to use the at compile time as needed only
- what are equivenlant environment variables for fortran 77, 90 and hpf so that if I am build code from a script file it knows to use PG (and not say gnu, or whatever)
- I will be getting the full acml package per Mats’ suggestion. ONce I do that, should I be setting an environment variable to take advantage of the dynamic version of acml_mp?
- I am new to parallel processing. linux, etc. If I am average, how many years will it take for me to be compotent at this!!!
Thanks
Buddy