10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-19 12:32:30 +01:00

Added omp_lib.F file

This commit is contained in:
Anthony Scemama 2024-06-04 11:24:25 +02:00
parent 38d386d36c
commit c1ca673a6f
2 changed files with 13 additions and 0 deletions

View File

@ -28,6 +28,15 @@ function qp_prepend_export () {
fi
}
function qp_append_export () {
eval "value_1="\${$1}""
if [[ -z $value_1 ]] ; then
echo "${2}:"
else
echo "${value_1}:${2}"
fi
}
export PYTHONPATH=$(qp_prepend_export "PYTHONPATH" "${QP_EZFIO}/Python":"${QP_PYTHON}")
export PATH=$(qp_prepend_export "PATH" "${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml)

View File

@ -0,0 +1,4 @@
module omp_lib
#include <omp_lib.h>
end module