# # MAKEFILE FOR GNU/Linux SPIDER using FFTW on 2 or more processors on SGI ALTIX -- # # PURPOSE: Creates 64 bit multi-processor SPIDER executable with FFTW3 for: SGI Altix # Output files have SGI native "byte order" # FFTW3 is statically linked, uses OpenMP threads # Uses Intel Fortran compiler # # ArDean Leith -- 25 April 2003 # # NOTE: You may ignore any undefined QFFLAGS, QLFLAGS & SUFFIX # SHELL = /bin/sh PGM = spider WHICH = linux_mpfftw_altix COMP = /opt/intel_fc_80/bin/ifort EXE = $(PGM)_$(WHICH)$(SUFFIX) FFLAGS = -ftz -assume byterecl -i4 -72 -convert big_endian -w90 -openmp -cpp -DSP_MP -DSP_IFC -DSP_LIBFFTW3 $(QFFLAGS) -c # Set location of FFTW3 libraries and static link for FFTW3 LF = -openmp -Bstatic $(QLFLAGS) # Link with FFTW3 static libraries LINKLIBS = -Bstatic -L../fftw/fftw3-altix/lib/ -lfftw3f -lfftw3f_threads -Bdynamic -lm LIB = $(EXE).a AFLAGS = r .PRECIOUS : ../bin/$(EXE) $(LIB) include Makefile.inc include Makebody.inc