Hi!
So fare I have tried following this guide:
$ mkdir MODFLOW
$ cd MODFLOW
$ 7z x mf6.3.0.zip
This worked until I run the next command:
$ cd make
$ make
Which just returned this error message:
mkdir -p .
mkdir -p mod_temp
make: *** No rule to make target 'obj_temp/ilut.o', needed by 'mf6'. Stop.
This does not create the obj_temp folder as what is explained in the guide, so I am not able to run "$ ./mf6".
import pymake
pm = pymake.Pymake()
pm.srcdir = '../src'
#I changed the path here to where i downloaded Modflow 6 to
pm.target = 'mf6'
pm.include_subdirs = True
pm.build()
When running the pymake script I did change the src path so that it points to the right directory. The command did go through without any error messages and created the obj_temp directory with a range of files with the extension "*file*.o", which I read are windows executable files. This looks something like this:
...
-rw-rw-r-- 1 userid 16328 aug 29 14:41 ArrayHandlers.o
-rw-rw-r-- 1 userid 39232 aug 29 14:41 ArrayReaders.o
-rw-rw-r-- 1 userid 35272 aug 29 14:41 ats.o
-rw-rw-r-- 1 userid 3416 aug 29 14:41 BaseExchange.o
-rw-rw-r-- 1 userid 4976 aug 29 14:41 BaseGeometry.o
-rw-rw-r-- 1 userid 8768 aug 29 14:41 BaseModel.o
-rw-rw-r-- 1 userid 2520 aug 29 14:41 BaseSolution.o
....
I changed the access permission of the mf6.o file to (0775/-rwxrwxr-x) and then tried to run it from the directory:
$ ./mf6.o
But then I get this error message:
bash: ./mf6.o: cannot execute binary file: Exec format error
I also tried running flopy in python but it doesn't work (which makes sense since I believe i still haven't managed to compile the program for ubuntu).
Can anybody help with this? Or can give me some advice on how to proceed? It seems easy when following the guides but so fare I haven't been able to make it work.
Any help is greatly appreciated, thanks