export JHBUILD_RUN_AS_ROOT=1
#workaround issue with ntpoly 3.0.0
-sed -i 's|repository type="tarball" name="ntpoly" href="https://github.com/william-dawson/NTPoly/archive/"|repository type="git" name="ntpoly" href="https://github.com/william-dawson/NTPoly/"|' ../modulesets/hpc-upstream.modules
+sed -i 's|repository type="tarball" name="ntpoly" href="https://github.com/william-dawson/NTPoly/archive/"|repository type="git" name="ntpoly" href="https://github.com/william-dawson/"|' ../modulesets/hpc-upstream.modules
+sed -i 's|module="ntpoly-v3.0.0.tar.gz"|module="ntpoly"|' ../modulesets/hpc-upstream.modules
../Installer.py autogen -y
../Installer.py -f ../../tools/jenkins/gfortran-simgrid.rc -y build
export OMP_NUM_THREADS=1
+#workaround issue with profiling optimization (for fugaku) which prevent f_free_ptr to use the simgrid version. Fix pending.
+export FUTILE_PROFILING_DEPTH=-1
#cubic version
cd ../bigdft/tests/DFT/cubic/C