Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use of mpi.h deprecated

  • Loading branch information...
commit 2edf5bf27521f857d4203f7e6d8ec450367e2efa 1 parent b8e166d
@ChristianMeisenbichler ChristianMeisenbichler authored
Showing with 2 additions and 16 deletions.
  1. +1 −12 setup.pl
  2. +1 −4 src/src_mpi/modmpi.F90
View
13 setup.pl
@@ -48,18 +48,7 @@
$MPI=<>;
if($MPI=~m/yes/i){
$selected=1;
- system("echo \"BUILDMPI=true\">>build/make.inc");
-print "Select the mechanism to include MPI interface variables\n";
-print " 1 use MPI module (f90 interfaces) recommended if available\n";
-print " 2 use #include <mpif.h> required by some MPI implementations
- (edit path in build mpiconf.inc if mpif.h is not in your includepath)\n";
-print " Note: if you do not have istalled MPI-2 include '-DMPI1'
- in your compiler options (MPIF90_OPTS) in the
- 'build/make.inc' file after finishing this setup script.\n";
-$mpiinclude=<>;
-if($mpiinclude==1) {$includefile="mpiconf.inc.module";}
-if($mpiinclude==2) {$includefile="mpiconf.inc.include";}
-system(("cp", "build/platforms/$includefile", "build/mpiconf.inc"));
+ system("echo \"BUILDMPI=true\">>build/make.inc");
}elsif($MPI=~m/no/i) {
system("echo \"BUILDMPI=false\">>build/make.inc");
View
5 src/src_mpi/modmpi.F90
@@ -18,10 +18,7 @@
!
!
Module modmpi
-
-#ifdef MPI
-#include "../build/mpiconf.inc"
-#endif
+use mpi
implicit none
Integer :: rank
Integer :: procs
Please sign in to comment.
Something went wrong with that request. Please try again.