-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(docs) updated list of possible SYSTEM= settings [skip ci]
- Loading branch information
1 parent
09471be
commit b52533b
Showing
5 changed files
with
114 additions
and
76 deletions.
There are no files selected for viewing
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,41 @@ | ||
#!/bin/bash | ||
# | ||
# script to print out information about all the SETUP= options | ||
# from the phantom Makefile | ||
# | ||
phantomdir='../../' | ||
url="https://github.com/danieljprice/phantom/blob/master/" | ||
echo "" | ||
echo ".. tabularcolumns:: |p{3cm}|p{15cm}|" | ||
echo "" | ||
echo ".. table:: List of possible SYSTEM configurations" | ||
echo " :widths: auto" | ||
echo "" | ||
printf "+" | ||
printf -- '-%.0s' {1..18} | ||
printf "+" | ||
printf -- '-%.0s' {1..123} | ||
printf "+\n" | ||
printf "| %-16s | %-121s | \n" "SYSTEM=" "description" | ||
printf "+" | ||
printf -- '=%.0s' {1..18} | ||
printf "+" | ||
printf -- '=%.0s' {1..123} | ||
printf "+\n" | ||
print_system() | ||
{ | ||
system=$1; | ||
descript=`grep -A 1 "ifeq (\\$(SYSTEM), $system)" $phantomdir/build/Makefile_systems | grep '#' | cut -d'#' -f 2 | tail -1 | xargs` | ||
#lineno=`grep -n "ifeq (\\$(SETUP), $setup)" $phantomdir/build/Makefile_setups | cut -d':' -f 1` | ||
printf "| %-16s | %-121s | \n" "$system" "$descript" | ||
printf "+" | ||
printf -- '-%.0s' {1..18} | ||
printf "+" | ||
printf -- '-%.0s' {1..123} | ||
printf "+\n" | ||
} | ||
listofsystems=`grep 'ifeq ($(SYSTEM)' $phantomdir/build/Makefile_systems | grep -v skip | cut -d, -f 2 | cut -d')' -f 1 | sort` | ||
for system in $listofsystems; do | ||
print_system $system | ||
done | ||
echo |
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,52 @@ | ||
|
||
.. tabularcolumns:: |p{3cm}|p{15cm}| | ||
|
||
.. table:: List of possible SYSTEM configurations | ||
:widths: auto | ||
|
||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| SYSTEM= | description | | ||
+==================+===========================================================================================================================+ | ||
| aocc | default settings for the AMD optimized fortran compiler (aocc) | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| complexity | complexity.leicester.dirac.ac.uk | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| cray | default settings for the Cray Fortran Compiler (ftn) | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| daint | piz-daint supercomputer facility https://www.cscs.ch/computers/piz-daint | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| gfortran | default settings for the gfortran compiler | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| hydra | this configuration works for the hydra cluster http://www.mpcdf.mpg.de/services/computing/hydra | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| ifort | default settings for the Intel Fortran Compiler | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| ifortgcc | Intel Fortran Compiler but gcc for C | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| ifortmac | default settings for the Intel Fortran Compiler on Mac OS | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| ipopeyearch | Flatiron CCA popeye cluster icelake node | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| isca | local cluster at the University of Exeter | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| kennedy | HPC cluster at University of St. Andrews | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| lyoccf | LIO CCF cluster | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| m2 | MASSIVE facility: massive.org.au | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| monarch | Monarch cluster at Monash University | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| nci | gadi (NCI machine) | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| nt | ozstar milan cluster using aocc (Ngarru Tindebeek) | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| ozstar | ozstar facility using ifort https://supercomputing.swin.edu.au/ozstar/ | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| rusty | Flatiron CCA rusty cluster rome node, AMD EPYC 7742 | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| skylake | HPCs Skylake cluster at Cambridge | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
| xc40 | Cray XC40 machine, similar to the daint system | | ||
+------------------+---------------------------------------------------------------------------------------------------------------------------+ | ||
|