~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to examples/staging/stage_write/Makefile.genarray_stream

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## MPIF90 SETTINGS
 
2
FC=mpif90
 
3
FFLAGS=-g
 
4
 
 
5
## FTN SETTINGS
 
6
#FC=ftn
 
7
#FFLAGS = -O3
 
8
 
 
9
#TARGET=gnu
 
10
TARGET=pgi
 
11
 
 
12
## Set ADIOS_DIR here or before doing make
 
13
override ADIOS_DIR=/ccs/proj/e2e/pnorbert/ADIOS/sith.${TARGET}
 
14
override ADIOS_INC=`${ADIOS_DIR}/bin/adios_config -c -f`
 
15
override ADIOS_FLIB=`${ADIOS_DIR}/bin/adios_config -l -f`
 
16
 
 
17
default: genarray_stream
 
18
all: default
 
19
 
 
20
genarray_stream.o : genarray_stream.F90 
 
21
        ${FC} -g -c ${ADIOS_INC} genarray_stream.F90  $<
 
22
 
 
23
genarray_stream:  genarray_stream.o
 
24
        ${FC} -g -o genarray_stream genarray_stream.o ${ADIOS_FLIB} 
 
25
 
 
26
 
 
27
clean:
 
28
        rm -f *.o *.mod *.fh core.*
 
29
        rm -f genarray_stream
 
30