2,652
edits
(One intermediate revision by one other user not shown) | |||
Line 693: | Line 693: | ||
#!/bin/bash | #!/bin/bash | ||
# Kay Diederichs 10/2015 | # Kay Diederichs 10/2015 | ||
# 3/2017 include RAMdisk creation for MacOS | # 3/2017 include RAMdisk creation for MacOS; only lightly tested! | ||
# 3/2016 adapt for eiger2cbf and hdf2mini-cbf | # 3/2016 adapt for eiger2cbf and hdf2mini-cbf | ||
# for the latter see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;58a4ee1.1603 and | # for the latter see https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ccp4bb;58a4ee1.1603 and | ||
Line 712: | Line 712: | ||
# | # | ||
# on MacOS the next line should then be: | # on MacOS the next line should then be: | ||
# tempfile=/Volumes/RAMdisk/H5ToXds${PWD//\//_}.$3" | # tempfile="/Volumes/RAMdisk/H5ToXds${PWD//\//_}.$3" | ||
# and on Linux: | # and on Linux: | ||
tempfile="/dev/shm/H5ToXds${PWD//\//_}.$3" | tempfile="/dev/shm/H5ToXds${PWD//\//_}.$3" | ||
Line 723: | Line 723: | ||
ln -sf "$tempfile" $3 2>/dev/null | ln -sf "$tempfile" $3 2>/dev/null | ||
</pre> | </pre> | ||
= See also = | = See also = | ||
[[Performance]] | [[Performance]] |