From 96b8611b18afe43244d5d9a8f48dc4b57bf74eed Mon Sep 17 00:00:00 2001 From: goodale Date: Fri, 11 May 2001 08:52:28 +0000 Subject: Renaming hiuxmpp to hiuxwe2 for new config.guess and config.sub files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2170 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/known-architectures/hiuxwe2 | 82 ++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 lib/make/known-architectures/hiuxwe2 (limited to 'lib/make/known-architectures/hiuxwe2') diff --git a/lib/make/known-architectures/hiuxwe2 b/lib/make/known-architectures/hiuxwe2 new file mode 100644 index 00000000..0105a178 --- /dev/null +++ b/lib/make/known-architectures/hiuxwe2 @@ -0,0 +1,82 @@ +#! /bin/sh +# /*@@ +# @file hiuxwe2 +# @date Wed Apr 19 17:58:22 2000 +# @author Tom Goodale +# @desc Optimazations by Peter Diener +# Configuration file for the Hitachi SR8000-F1 +# @enddesc +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/hiuxwe2,v 1.1 2001-05-11 08:52:28 goodale Exp $ +# @@*/ + +if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then + + # + # use the native compilers by default + # + if test -z "$CC"; then + echo Setting C compiler to cc + CC="cc" + fi + + if test -z "$CXX"; then + echo Setting C++ compiler to CC + CXX="CC" + fi + + if test -z "$LD"; then + echo Setting linker to CC + LD="CC" + fi + +else + + CFLAGS="$CFLAGS -64" + CXXFLAGS="$CXXFLAGS -64" + + : ${F77FLAGS="-64 -conti199 -uinline=2"} + : ${F90FLAGS="-64 -conti199 -uinline=2"} + + LDFLAGS="$LDFLAGS -64" + + : ${C_OPTIMISE_FLAGS="-O4 -pvec -pvfunc -predicate -model=F1"} +# : ${CXX_OPTIMISE_FLAGS="-O4 -pvec -pvfunc -predicate -model=F1"} + + : ${F77_OPTIMISE_FLAGS="-opt=ss -pvfunc=2 -noparallel -model=F1"} + : ${F90_OPTIMISE_FLAGS="-opt=ss -pvfunc=2 -noparallel -model=F1 -noscope"} + +# No way to generate dependencies on this machine. + : ${C_DEPEND="echo"} + : ${CXX_DEPEND="echo"} + : ${F_DEPEND="echo"} + : ${F77_DEPEND="echo"} + + : ${C_DEPEND_OUT='>/dev/null ; touch $@'} + : ${CXX_DEPEND_OUT='>/dev/null ; touch $@'} + : ${F_DEPEND_OUT='>/dev/null ; touch $@'} + : ${F77_DEPEND_OUT='>/dev/null ; touch $@'} + +# Yet another CXX->C translator 8-(. + : ${CXX_WORKING_NAME='$(notdir $<)'} + + : ${CXX_POSTPROCESSING='if test -r $(SCRATCH_BUILD)$(DIRSEP)$(basename $(basename $(notdir $@))).o ; then cp $(SCRATCH_BUILD)$(DIRSEP)$(basename $(basename $(notdir $@))).o $@ ; fi'} + + : ${LIBS="f90s f90 hf90pvmath hf90math m"} + + : ${L2_CACHELINE_BYTES="128"} + : ${L2_CACHE_SIZE="128*1024"} + +# MPI stuff + + if test -n "$MPI" ; then + NATIVE_MPI_LIBS="mpi" + NATIVE_MPI_LIB_DIRS="/usr/mpi/lib/lib64" + NATIVE_MPI_INC_DIRS="/usr/mpi/include" + fi + +# PTHREADS stuff + + if test "X$PTHREADS" = "Xyes"; then + PTHREADS_DEFINE="_PTHREADS_D10" + fi +fi -- cgit v1.2.3