mirror of
https://gitlab.com/scemama/qp_plugins_scemama.git
synced 2024-11-08 23:23:42 +01:00
Compare commits
No commits in common. "a264f8bb6f33113a0e57b53c522df04de9cf874f" and "531cabe735026bc01e1e48f040f6ccff0074a904" have entirely different histories.
a264f8bb6f
...
531cabe735
23
devel/qmcchem/install
Executable file
23
devel/qmcchem/install
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Check if the QP_ROOT environment variable is set.
|
||||||
|
if [[ -z ${QP_ROOT} ]]
|
||||||
|
then
|
||||||
|
print "The QP_ROOT environment variable is not set."
|
||||||
|
print "Please reload the quantum_package.rc file."
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pkg-config --libs trexio > LIB
|
||||||
|
|
||||||
|
scripts_list="qp_import_trexio.py"
|
||||||
|
|
||||||
|
# Destroy ONLY the symbolic link for the scripts to be used in the
|
||||||
|
# ${QP_ROOT}/scripts/ directory.
|
||||||
|
for i in $scripts_list
|
||||||
|
do
|
||||||
|
find ${QP_ROOT}/scripts/$i -type l -delete
|
||||||
|
done
|
||||||
|
|
||||||
|
# Create symlink in scripts
|
||||||
|
ln --symbolic ${PWD}/qp_import_trexio.py $QP_ROOT/scripts
|
@ -42,7 +42,7 @@ program save_for_qmc
|
|||||||
write(iunit,*) e_ref
|
write(iunit,*) e_ref
|
||||||
close(iunit)
|
close(iunit)
|
||||||
|
|
||||||
call export_trexio(.True.)
|
call export_trexio
|
||||||
end
|
end
|
||||||
|
|
||||||
! ---
|
! ---
|
||||||
|
Loading…
Reference in New Issue
Block a user