diff options
Diffstat (limited to 'cluster/atlas')
-rwxr-xr-x | cluster/atlas/BUILD | 14 | ||||
-rw-r--r-- | cluster/atlas/HISTORY | 6 | ||||
-rw-r--r-- | cluster/atlas/atlas-alpha.config | 12 | ||||
-rw-r--r-- | cluster/atlas/atlas-nog77.config | 2 |
4 files changed, 32 insertions, 2 deletions
diff --git a/cluster/atlas/BUILD b/cluster/atlas/BUILD index 7d40b47041..f84d0df775 100755 --- a/cluster/atlas/BUILD +++ b/cluster/atlas/BUILD @@ -1,8 +1,20 @@ persistent_add SOURCE_LIB && make_single && local config=$(<$SCRIPT_DIRECTORY/atlas-nog77.config) && +if [[ "${SMGL_COMPAT_ARCHS[1]}" == alpha ]]; then + config=$(<$SCRIPT_DIRECTORY/atlas-alpha.config) && + # Tricky: The question may come even if generic chosen, + # when cpu is ev5/6/7 nevertheless! + if [[ "${SMGL_COMPAT_ARCHS[3]}" =~ ^ev[567] ]]; then + config=$(sed 's/EV5GEMM/y/' <<< "$config") + else # Assume that question is not posed. + config=$(sed '/EV5GEMM/d' <<< "$config") + fi +fi && if is_depends_enabled $SPELL fortran; then - config=$(sed 's/0$/\ngfortran/' <<< "$config") + config=$(sed 's/FORTRAN/1\ngfortran/' <<< "$config") +else + config=$(sed 's/FORTRAN/0/' <<< "$config") fi && echo "$config" | make && ARCH=`ls -1 Make.Linux* | sed -e 's/Make.//'` && diff --git a/cluster/atlas/HISTORY b/cluster/atlas/HISTORY index 186775b8e1..5eb474a840 100644 --- a/cluster/atlas/HISTORY +++ b/cluster/atlas/HISTORY @@ -1,3 +1,9 @@ +2007-06-04 Thomas Orgis <sobukus@sourcemage.org> + * BUILD, atlas-alpha.config: make it work on alphas, + prepare for better fortran handling for others, too + * atlas-nog77.config: use symbol FORTRAN instead of + anonymous 0 + 2006-11-01 Jaka Kranjc <lynxlynxlynx@sourcemage.org> * DEPENDS: add optional fortran * BUILD: add fortran when requested and fix #9380 diff --git a/cluster/atlas/atlas-alpha.config b/cluster/atlas/atlas-alpha.config new file mode 100644 index 0000000000..ce59b75911 --- /dev/null +++ b/cluster/atlas/atlas-alpha.config @@ -0,0 +1,12 @@ +025 +y +y +EV5GEMM +n +y + + + +FORTRAN + +y diff --git a/cluster/atlas/atlas-nog77.config b/cluster/atlas/atlas-nog77.config index 8b96497e5c..f1e3f08ec1 100644 --- a/cluster/atlas/atlas-nog77.config +++ b/cluster/atlas/atlas-nog77.config @@ -5,5 +5,5 @@ n y -0 +FORTRAN |