-
Notifications
You must be signed in to change notification settings - Fork 5
(old) Shared installation of GridPACK on Perlmutter
thomasflynn918 edited this page Sep 6, 2023
·
1 revision
- GridPACK with subcommunicator support has been installed at
/global/common/software/m3363/gpbuildshare/GridPACK-feature-init-comm
. - The GridPACK Python wrappers have also been built.
- To set up the environment:
salloc -C cpu --qos debug -N 1 -t 30 -c 4 -A m3363 module load gpu module load cmake module load python module load tensorflow export GRIDPACK_DIR=/global/common/software/m3363/gpbuildshare/GridPACK-feature-init-comm/src/gridpack-install export PYTHONPATH="${GRIDPACK_DIR}/lib/python:${PYTHONPATH}" export PYTHONPATH="${GRIDPACK_DIR}/lib/python/gridpack_hadrec-0.0.1-py3.9-linux-x86_64.egg:${PYTHONPATH}" export PATH=/global/common/software/m3363/gpbuildshare/GridPACK-feature-init-comm/src/gridpack-install/bin:$PATH export BOOST_DIR=/global/common/software/m3363/gpbuildshare export LD_LIBRARY_PATH=$BOOST_DIR/lib:$LD_LIBRARY_PATH export PETSC_DIR=/global/common/software/m3363/gpbuildshare/petsc-3.18.1/ export PETSC_ARCH=pm export LD_LIBRARY_PATH=/global/common/software/m3363/gpbuildshare/ga/build_ts_so/lib:$LD_LIBRARY_PATH
- Test the python wrapper:
cd /global/common/software/m3363/gpbuildshare/GridPACK-feature-init-comm/python python setup.py test
- After building, output looks something like
GridPACK math module configured on 1 processors (readNetwork) Got to 1 (readNetwork) Got to 2 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000,Vamin=-999.000000,Vrmax=4.480000,Vrmin=-1.790000,Kc=0.110000,Kf=0.000000,Tf=1.000000,Klr=0.000000,Ilr=2.800000 UEL=1.000000,VOS=1.000000,Tr=0.000000,Vimax=999.000000,Vimin=-999.000000,Tc=0.510000,Tb=2.010000,Tc1=0.000000,Tb1=0.000000,Ka=178.900000,Ta=0.029000,Vamax=999.000000 ...