Commits

Devin Silvia committed 1fad129

actually fixed the running script now.

  • Participants
  • Parent commits bbe230c

Comments (0)

Files changed (1)

File examples/run_oxygen_network.py

     enzoincludepath = "/Users/devinsilvia/Research/code/enzo-dev_chemistry/src/enzo/"
     libpath = "/Users/devinsilvia/Research/code/yt-x86_64/lib/"
     os.system("mpic++ -O0 -ggdb -DLINUX -DH5_USE_16_API -DUSE_SQLITE -DSAB -D__max_subgrids=100000 -D__max_baryons=20 -D__max_cpu_per_node=8 -D__memory_pool_size=100000 -DINITS64 -DSMALL_INTS -DCONFIG_PINT_8 -DIO_32 -DUSE_MPI -DCONFIG_PFLOAT_8 -DCONFIG_BFLOAT_8 -DUSE_HDF5_GROUPS -DTRANSFER -DNEW_GRID_IO -DFAST_SIB -DBITWISE_IDENTICALITY -DFLUX_FIX -DSET_ACCELERATION_BOUNDARY -I%s -I%s -L%s -lhdf5_hl -lhdf5 -lm output/oxygen_solver.c templates/BE_chem_solve.C -o output/oxygen.out" %(includepath, enzoincludepath, libpath))
-    os.system("./output/oxygen.out >& /output/estd.out")
+    os.chdir("output")
+    os.system("./oxygen.out >& estd.out")
+    os.chdir("..")
     os.system("ipython plot_intermediate.py oxygen")