Configuration of the post-install step
Posted: Tue Mar 20, 2012 12:01 pm
Hello,
I am working on a PBS cluster. The libraries being different on the frontend and computation nodes, I tried a cross-compiling installation.
Now,I don't understand how to link the two versions installed. In the .profile I have to link code_saturne
cspath=/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/bin
##(adjust path to your system)
if [ -d $cspath ] ; then
export PATH=$cspath:$PATH
fi
I edited the code_saturne.cfg in
/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/etc
[install]
### Select the batch system type and job template.
batch =PBS
###
### Define installation prefixes of alternate builds for compute tasks
### (parallel partitioning, solver).
### Either the absolute name or the base name of the installation prefix may
### be used (using the more concise base name assumes a consistent naming
### scheme, with builds installed side-by-side).
compute_versions =/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/noeuds
###
But the path in the runcase file is
/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/libexec/code_saturne/cs_solver --param calcul.xml --mpi $YACS_ARGS $@
I don't understand how to link the frontend and computation versions.
Best regards
Erwan
I am working on a PBS cluster. The libraries being different on the frontend and computation nodes, I tried a cross-compiling installation.
Now,I don't understand how to link the two versions installed. In the .profile I have to link code_saturne
cspath=/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/bin
##(adjust path to your system)
if [ -d $cspath ] ; then
export PATH=$cspath:$PATH
fi
I edited the code_saturne.cfg in
/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/etc
[install]
### Select the batch system type and job template.
batch =PBS
###
### Define installation prefixes of alternate builds for compute tasks
### (parallel partitioning, solver).
### Either the absolute name or the base name of the installation prefix may
### be used (using the more concise base name assumes a consistent naming
### scheme, with builds installed side-by-side).
compute_versions =/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/noeuds
###
But the path in the runcase file is
/Calcul/Apps2/saturne4.2.4/v214/code_saturne-2.1.4/arch/frontend/libexec/code_saturne/cs_solver --param calcul.xml --mpi $YACS_ARGS $@
I don't understand how to link the frontend and computation versions.
Best regards
Erwan