How does makefile work?

Issues and examples using this model (available in the Models Repository)

How does makefile work?

Postby hamidreza_radaei on Sat Aug 27, 2016 12:48 am

Dear all
I am starting to work with SPHysic, But I have a problem related to *.mak file. Here is a brief of my work: first of all, I ran the SPHysicsgen.f as a project in visual studio(intel Fortran). Then it works correctly and gives outputs(for example SPHysis.mak).After copying these files in related folder, when I want to run the SPHysics.f, it gives a lot of errors such as:
The type of the actual argument differs from the type of the dummy argument.
It seems that because there are many subroutines with the same name and different arguments! In the other words, This indicates that the SPHysics.mak doesn't work properly!

As one member (bjhaw2) mentions in a post: " Below are the original first two lines of the makefile:
Line 2: COPTIONS= /03
Note the zero between the / and 3 on the second line. This should be O (capital o)."

I change it, but unfortunately, it still doesn't work properly!
I really look forward to your answers. Any suggestion would be really appreciated.
Posts: 1
Joined: Tue Aug 23, 2016 8:55 am

Re: How does makefile work?

Postby karanam.gowtham9 on Mon Mar 20, 2017 7:08 am

Even I am encountering the same problem. Did you solve it ?
Posts: 1
Joined: Fri Feb 10, 2017 8:54 am

Return to SPHysics User Discussions

Who is online

Users browsing this forum: No registered users and 1 guest