Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need Help about fortran (g77)

  1. Mar 12, 2009 #1
    I came across a problem on the project:
    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':
    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.
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

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