Skip to content

Commit

Permalink
Remove python packages from external in Jureca
Browse files Browse the repository at this point in the history
Update deployment scripts
Update intel build system to support intel-mpi-external
  • Loading branch information
Jorge Blanco Alonso committed Mar 31, 2020
1 parent c3fcadb commit 39dbadd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 45 deletions.
3 changes: 2 additions & 1 deletion lib/spack/spack/build_systems/intel.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ def scalapack_libs(self):
'^intel-parallel-studio' in spec_root):
blacs_lib = 'libmkl_blacs_intelmpi'
elif ('^mpt' in spec_root or
'^hpe-mpi' in spec_root):
'^hpe-mpi' in spec_root or
'^intel-mpi-external' in spec_root):
blacs_lib = 'libmkl_blacs_sgimpt'
else:
raise_lib_error('Cannot find a BLACS library for the given MPI.')
Expand Down
6 changes: 6 additions & 0 deletions sysconfig/daint/deploy_simstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ spack install --dirty --keep-stage -v neuron %intel ^[email protected] ^mpich

spack spec -I neuron~mpi %intel ^[email protected]
spack install --dirty --keep-stage -v neuron~mpi %intel ^[email protected]

# PYTHON 3 packages
module load cray-python/3.6.5.7

spack spec -Il neurodamus-hippocampus+coreneuron %intel ^[email protected] ^synapsetool%gcc
spack install --dirty --keep-stage neurodamus-hippocampus+coreneuron %intel ^[email protected] ^synapsetool%gcc
spack install --dirty --keep-stage neurodamus-neocortex+coreneuron %intel ^[email protected] ^synapsetool%gcc
Expand All @@ -68,6 +71,9 @@ spack install --dirty --keep-stage py-bluepyopt%gcc ^[email protected] ^zeromq%intel

# Re-generate modules
spack module tcl refresh --delete-tree -y
cd $DEPLOYMENT_HOME/install/modules/tcl/cray-cnl7-haswell
find py* -type f -print0|xargs -0 sed -i '/PYTHONPATH.*\/neuron-/d'
find neuro* -type f -print0|xargs -0 sed -i '/module load mpich/d'

#ln -s $DEPLOYMENT_HOME/install/modules/tcl/cray-cnl6-haswell $DEPLOYMENT_HOME/modules
#chmod -R ugo-w $DEPLOYMENT_HOME
Expand Down
3 changes: 3 additions & 0 deletions sysconfig/jureca-booster/deploy_simstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ spack install --dirty --keep-stage -v neuron~mpi %intel ^[email protected]

# Python 3 packages
module load Python/3.6.8
module load SciPy-Stack/2019a-Python-3.6.8
module list
spack spec -Il neurodamus-hippocampus+coreneuron %intel ^coreneuron$cnrn_variant ^[email protected] ^synapsetool%gcc
spack install --keep-stage --dirty neurodamus-hippocampus+coreneuron %intel ^coreneuron$cnrn_variant ^[email protected] ^synapsetool%gcc
Expand All @@ -88,6 +89,8 @@ spack spec -Il py-bluepyopt%gcc ^[email protected] ^zeromq%intel
spack install --keep-stage --dirty py-bluepyopt%gcc ^[email protected] ^zeromq%intel

spack module tcl refresh --delete-tree -y
cd $DEPLOYMENT_HOME/modules/tcl/linux-centos7-haswell
find py* -type f -print0|xargs -0 sed -i '/PYTHONPATH.*\/neuron-/d'

# Create symbolic link
#mkdir -p $DEPLOYMENT_HOME/../install && cd $DEPLOYMENT_HOME/../install
Expand Down
24 changes: 2 additions & 22 deletions sysconfig/jureca-booster/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,30 +116,10 @@ packages:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/Python/3.6.8-GCCcore-8.3.0
version: [2.7.15, 3.6.8]
buildable: False
py-cython:
paths:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/Python/3.6.8-GCCcore-8.3.0
version: [0.29.6]
buildable: False
py-ipyparallel:
paths:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [6.1.1]
buildable: False
py-matplotlib:
paths:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [2.2.2]
buildable: False
py-numpy:
paths:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [1.15.2]
buildable: False
py-pandas:
paths:
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [0.24.2]
[email protected]: /usr/local/software/jurecabooster/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [3.0.3]
buildable: False
py-scipy:
paths:
Expand Down
24 changes: 2 additions & 22 deletions sysconfig/jureca-cluster/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,30 +96,10 @@ packages:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/Python/3.6.8-GCCcore-8.3.0
version: [2.7.15, 3.6.8]
buildable: False
py-cython:
paths:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/Python/3.6.8-GCCcore-8.3.0
version: [0.29.6]
buildable: False
py-ipyparallel:
paths:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [6.1.1]
buildable: False
py-matplotlib:
paths:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [2.2.2]
buildable: False
py-numpy:
paths:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [1.15.2]
buildable: False
py-pandas:
paths:
[email protected]: /usr/local/software/jureca/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [0.24.2]
[email protected]: /usr/local/software/jureca/Stages/2019a/software/SciPy-Stack/2019a-gcccoremkl-8.3.0-2019.3.199-Python-3.6.8
version: [3.0.3]
buildable: False
py-scipy:
paths:
Expand Down

0 comments on commit 39dbadd

Please sign in to comment.