-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile seawat4 on Ubuntu 14.04 #2
Comments
Hi Arjen, I had to rework pymake a bit to have it compile SEAWAT automatically. Take a look at the make_swtv4.py example. It works for me, and compiles SEAWAT. The issue that you were having was because of the 'parallel' and 'serial' folders included with source. The make_swtv4.py script removes these automatically. Should all work now. Good luck! |
Hi |
Strange that there are still problems with the capital letter file names. I thought I fixed that in pymake by converting to lower when building the DAG. I don't have a problem on my Mac. Let me know if come across a fix for that. Sent from my iPad
|
Hello,
I am trying to use pymake to compile seawat v4 (Ubuntu 14.04.2). Unfortunately I have run into some errors. One I have not been able to resolve yet:
gfortran -O2 -c ./src_temp/parallel/para-mpi.f -o ./obj_temp/para-mpi.o -Iobj_temp -Jmod_temp
./src_temp/parallel/para-mpi.f:15: Error: Can't open included file 'mpif.h'
Traceback (most recent call last):
File "", line 1, in
File "pymake.py", line 342, in main
expedite, dryrun)
File "pymake.py", line 232, in compile_with_gnu
subprocess.check_call(cmdlist)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gfortran', '-O2', '-c', './src_temp/parallel/para-mpi.f', '-o', './obj_temp/para-mpi.o', '-Iobj_temp', '-Jmod_temp']' returned non-zero exit status 1
Any ideas?
Much appreciated.
Regards,
Arjen
The text was updated successfully, but these errors were encountered: