-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
167 additions
and
28 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
awk_elf_to_xsf | ||
bands2dos | ||
bs_sc2pc | ||
c2x | ||
castep2casino | ||
castep2cell | ||
castep2cif | ||
castep2cssr | ||
castep2cube | ||
castep2force.py | ||
castep2ngwst | ||
castep2pdb | ||
castep2shak | ||
castep2shx | ||
castep2w90 | ||
castep2xsf | ||
castep2xtl | ||
castep2xyz | ||
castepclean | ||
castepconv.py | ||
castep_GA | ||
castep_md_reader.py | ||
castep.py | ||
castep.serial | ||
cconv | ||
cell2cell | ||
cell2pdb | ||
cell2sgroup | ||
cell2shx | ||
cell2xsf | ||
cell2xtl | ||
cell2xyz | ||
celltools | ||
ceteprouts.pm | ||
charge2d | ||
cif2cell | ||
CijUtil.py | ||
cssr2cell | ||
cssr2gulp | ||
cube_add | ||
cube_info | ||
cube_subtract | ||
cube_to_xsf | ||
current2nics | ||
den2cube | ||
den2grd | ||
den2vasp | ||
den2xplor | ||
den2xsf | ||
dispersion.pl | ||
dos.pl | ||
easy-install.pth | ||
elastics.py | ||
f2py | ||
f2py3 | ||
f2py3.8 | ||
generate_strain.py | ||
geom2dcd | ||
geom2pdbseq | ||
geom2xsf | ||
geom2xtl | ||
geom2xyz | ||
geom2xyz.pl | ||
md2xyz | ||
mdtep | ||
md_to_phonons.py | ||
mode_follow | ||
MolPDOS | ||
optados | ||
orbitals2bands | ||
pdb2cell | ||
pdb2pdb | ||
pdb2shak | ||
pdb2shx | ||
pdb2xtl | ||
perl_md.pl | ||
perl_pimd.pl | ||
phonon2xyz | ||
phonon_kpoints | ||
phonons | ||
pimerge.pl | ||
pot1d | ||
rotate_Albite.py | ||
rotCij.py | ||
shx2cell | ||
site.py | ||
symmetry_snap | ||
test-CijUtil.py | ||
vasp2cell | ||
vasp2cif | ||
vasp2pdb | ||
xtl2cell | ||
xtl2cssr | ||
xtl2pdb | ||
xtl2sgroup | ||
xtl2shx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# This file contains the aliases that are used in the workshop to make running | ||
# the commands easier. You can source this file to make them available in your current shell. | ||
# For example: | ||
# | ||
# source /course_materials/vm_aliases.sh | ||
|
||
# Function to prepend a command to an executable | ||
prepend_command() { | ||
local command=$1 | ||
local executable=$2 | ||
alias "$executable"="$command $executable" | ||
} | ||
|
||
# Get the directory of the current script | ||
SCRIPT_DIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")") | ||
|
||
# Read the list of executables from the serial configuration file | ||
serial_executables=$(cat "$SCRIPT_DIR/serial_executables.conf") | ||
|
||
# Loop over the serial executables and create aliases | ||
for exe in $serial_executables; do | ||
prepend_command "castep-serial" "$exe" | ||
done | ||
|
||
# an extra alias for the serial version of castep | ||
alias "castep"="castep-serial castep.serial" | ||
|
||
# For the MPI executables, prepend castep-mpi to mpirun | ||
# and that will anyway ensure that the mpi versions of the executables are used | ||
alias "mpirun"="castep-mpi mpirun" |