I came across a problem on the project:(adsbygoogle = window.adsbygoogle || []).push({});

my project is comprised of tens of fortran files. There is a param.h header file collecting all the parameters that are used by the program and subroutines. but after I add this line:

parameter(pi = dacos(-1.0d0))

into the param.h

the command "make " always reports errors like:

param.h: In subroutine `stressinit':

param.h:135:

parameter(pi = dacos(-1.0d0))

^

Invalid declaration of or reference to symbol `dacos' at (^) [initially seen at (^)]

How to employ the function "dacos" in a header file?

Thanks a lot.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Need Help about fortran (g77)

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Need Help fortran | Date |
---|---|

Matlab Help needed to fix a matlab code | Nov 8, 2017 |

Need help with integral | Dec 23, 2015 |

Need help with maple programming | Nov 20, 2015 |

I need help with Excel | Dec 12, 2014 |

New to mathematica, some basic help needed | May 10, 2014 |

**Physics Forums - The Fusion of Science and Community**