mirror of
https://github.com/triqs/dft_tools
synced 2024-08-29 07:22:01 +02:00
Fixed a path to pytriqs in shell scripts
Now 'pytriqs' is invoked with an absolute path to the current TRIQS installation. This ensures that the scripts will call a compatible version of 'pytriqs'.
This commit is contained in:
parent
2bb45c775c
commit
9112587d18
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
pytriqs -m pytriqs.applications.dft.converters.plovasp.converter $@
|
||||
@CMAKE_INSTALL_PREFIX@/bin/pytriqs -m pytriqs.applications.dft.converters.plovasp.converter $@
|
||||
|
||||
|
@ -81,5 +81,7 @@ echo " Script name: $DMFT_SCRIPT"
|
||||
rm -f vasp.lock
|
||||
stdbuf -o 0 $MPIRUN_CMD -np $NPROC "$VASP_DIR/vasp" &
|
||||
|
||||
$MPIRUN_CMD -np $NPROC pytriqs -m pytriqs.applications.dft.converters.plovasp.sc_dmft $(jobs -p) $DMFT_SCRIPT || kill %1
|
||||
PYTRIQS=@CMAKE_INSTALL_PREFIX@/bin/pytriqs
|
||||
|
||||
$MPIRUN_CMD -np $NPROC $PYTRIQS -m pytriqs.applications.dft.converters.plovasp.sc_dmft $(jobs -p) $DMFT_SCRIPT || kill %1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user