4 [ -z "$AMPICC_MODE" ] && AMPICC_MODE
='ampi'
24 # These arguments manage compilation of ROMIO's configure tests.
25 # Simple environment tests will be compiled as standalone binaries,
26 # while MPI tests will be compiled with AMPI.
27 -ampi-romio-configure) # Strictly for internal use.
28 ROMIO_CONFIGURE
='true'
30 mpitest
*) # mpitest.c, mpitest1.c, mpitest.f, etc
45 [ -n "$ROMIO_CONFIGURE" -a -z "$MPITEST" ] && STANDALONE
='true'
47 [ -n "$STANDALONE" ] && ARGS
="$ARGS -standalone"
49 [ -f $CHARMBIN/..
/lib
/libampiromio.a
-a -z "$STANDALONE" -a -z "$ROMIO_CONFIGURE" ] && ROMIO
='-lampiromio'
51 $CHARMBIN/charmc
-language $AMPICC_MODE -default-to-aout $ARGS $ROMIO
54 # Copy ampirun, but do not overwrite it if it already exists.
55 [ $status -eq 0 ] && cp -n $CHARMBIN/ampirun .