GithubHelp home page GithubHelp logo

Comments (2)

crollinson avatar crollinson commented on June 12, 2024

Afshin, it looks like before the part you pasted there's a missing close of a loop or IF statement. It looks to probably somewhere in the radiate driver, but since I'm not having any issues, it might be a missing END IF or END DO statement in one of your modifications. Did you modify the radiate driver at all? If you can either paste the compile output form a bit further up or just copy save the entire compile output and email it to me and I'll see if I can figure out where the bug is?

On Mar 25, 2015, at 6:33 PM, Afshin Pourmokhtarian [email protected] wrote:

I pulled the latest main line changes in to my local branch and when I try to compile the code, I keep getting the error message below (I already tried ./install.sh clean) which is related to radiate_driver.f90 file, any thoughts what is causing it?

Error: Expecting END IF statement at (1)
radiate_driver.f90:1067.3:

end subroutine sfcrad_ed
1
Error: Expecting END IF statement at (1)
radiate_driver.f90:1080.4:

real function ed_zen(plon,plat,when)
1
Error: 'real' at (1) is not a variable
radiate_driver.f90:1081.55:

use ed_misc_coms , only : simtime ! ! structure
1
Error: Unexpected USE statement at (1)
radiate_driver.f90:1085.56:

                   , tiny_num8    ! ! intent(in)
                                                1

Error: Unexpected USE statement at (1)
radiate_driver.f90:1086.16:

implicit none
1
Error: Unexpected IMPLICIT NONE statement at (1)
radiate_driver.f90:1088.36:

real(kind=4) , intent(in) :: plon
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1089.36:

real(kind=4) , intent(in) :: plat
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1090.16:

type(simtime), intent(in) :: when
1
Error: Derived type 'simtime' at (1) is being used before it is defined
radiate_driver.f90:1092.68:

integer :: doy ! Day of year ("Julian" day)
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1093.53:

real(kind=8) :: declin ! Declination
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1094.61:

real(kind=8) :: sdec ! Sine of declination
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1095.63:

real(kind=8) :: cdec ! Cosine of declination
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1096.54:

real(kind=8) :: dayhr ! Hour of day
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1097.61:

real(kind=8) :: radlat ! Latitude in radians
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1098.61:

real(kind=8) :: clat ! Cosine of latitude
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1099.58:

real(kind=8) :: slat ! Sine of latitude
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1100.64:

real(kind=8) :: dayhrr ! Hour of day in radians
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1101.52:

real(kind=8) :: hrangl ! Hour angle
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1103.85:

nd=8), parameter :: capri = -2.344d1 ! Tropic of Capricornium latitude
1

Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1104.92:

parameter :: ndaysnl = 3.65d2 ! Number of days of year (no leap years)
1

Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1105.89:

), parameter :: ndayslp = 3.66d2 ! Number of days of year (leap years)
1

Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1106.87:

, parameter :: shsummer = -10 ! DoY of Southern Hemisphere summer
1

Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1108.85:

, external :: julday ! Function to find day of year ("Julian" day)
1
Error: Unexpected data declaration statement at (1)
radiate_driver.f90:1109.88:

, external :: isleap ! Function to determine whether the year is leap
1

Error: Unexpected data declaration statement at (1)
Fatal Error: Error count reached limit of 25.
make[1]: *** [radiate_driver.o] Error 1
make[1]: Leaving directory `/usr2/postdoc/apourmok/ED2-1/ED/build/bin'
make: *** [all] Error 2


Reply to this email directly or view it on GitHub #43.

from ed2.

apourmok avatar apourmok commented on June 12, 2024

Resolved the issue by reverting commits. Thanks.

from ed2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.