source: gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/OPENMPI.sh@ 24591

Last change on this file since 24591 was 24591, checked in by jmt12, 13 years ago

Initial checkin. Forgot to remove .svn folder from place I copied this from

  • Property svn:executable set to *
File size: 860 bytes
Line 
1#!/bin/bash
2
3package=openmpi
4version=-1.4.3
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
9
10prefix=$GEXTPARALLELBUILDING_INSTALLED
11
12if [[ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libmpi.so.0.0.2" || ! -e "$GEXTPARALLELBUILDING_INSTALLED/bin/opal_wrapper" || ! -e "$GEXTPARALLELBUILDING_INSTALLED/bin/orterun" ]]
13 then
14 opt_run_untar $force_untar $auto_untar $package $version
15 opt_run_configure $force_config $auto_config $package $version $prefix
16
17 opt_run_make $compile $package $version
18 opt_run_make $install $package $version "install"
19 opt_run_make $clean $package $version "clean"
20 opt_run_make $distclean $package $version "distclean"
21
22 opt_run_tarclean $tarclean $package $version
23 else
24 echo "Open MPI library and binaries already compiled => no need to recompile"
25fi
26
27
28
29
30
31
Note: See TracBrowser for help on using the repository browser.