src/java/m/wrfhydro/V1_0.java
@@ -39,7 +39,7 @@ |
@Path("m/wrfhydro/1.0") |
@Resource(file = "/usr/local/tomcat/WRF/wrf_hydro_NoahMP.exe", id = WRF_HYDRO, type = REFERENCE) |
@Resource(file = MPI, type = REFERENCE, id = MPI) |
-@Resource(file = "*.00000", type = OUTPUT) |
+@Resource(file = "diag_hydro.* *.txt", type = OUTPUT) |
public class V1_0 extends ModelDataService { |
|
public static final String MPI = "mpirun"; |
@@ -57,16 +57,9 @@ |
Executable mpi = resources().getExe(MPI); |
File wrf_hydro = resources().getFile(WRF_HYDRO); |
|
-// mpi.addArguments("--allow-run-as-root", |
-// "-path", wrf_hydro.getParent(), |
-// "-wdir", getWorkspaceDir(), |
-//// "--oversubscribe", |
-// "-np", threads, |
-// wrf_hydro.getName() |
-// ); |
mpi.addArguments( |
"-wdir", getWorkspaceDir(), |
-// "--oversubscribe", |
+ // "--oversubscribe", |
"-np", threads, |
wrf_hydro.toString() |
); |