Git Product home page Git Product logo

Comments (2)

josephzhang8 avatar josephzhang8 commented on August 16, 2024

from schism.

hb-9797 avatar hb-9797 commented on August 16, 2024

For GOTM, please use cmake.

-Joseph Joseph Zhang Office: (804) 684 7466 Web: schism.wiki
________________________________ From: Bo Huang @.> Sent: Friday, February 23, 2024 11:17 AM To: schism-dev/schism @.> Cc: Subscribed @.> Subject: [schism-dev/schism] Compile GOTM 3.2.5 (Issue #127) [EXTERNAL to VIMS received message] Hi all: I followed the "readme(inside GOTM/)" to install the GOTM library. When I go into the "src" folder and use "make realclean "and "make", I get the following error already: "/data/hb/schism-5.11.0/src/GOTM3.2.5/compilers/compiler.: No such file or directory make: *** No rule to make target `/data/hb/schism-5.11.0/src/GOTM3.2.5/compilers/compiler.'. Stop", no relevant files found. I was able to run schism successfully without using the GOTM module before. Here are the environment variables as well as the error screenshot: image.png (view on web)https://github.com/schism-dev/schism/assets/129708252/34164927-55f0-4b44-bc9d-6e6d22e1d628 image.png (view on web)https://github.com/schism-dev/schism/assets/129708252/56cd9698-9c72-438e-9827-e2a9cac19a4d — Reply to this email directly, view it on GitHub<#127>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBKNZ656HC7QBFEBN2DXBDYVC6JDAVCNFSM6AAAAABDW7L62KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TCNBQGAZTONA. You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your reply, I noticed that in the "readme(inside GOTM/)", it mentions that for the SELFE model, you need to "Make library inside src/turbulence/Makefile...", and with a loop code. Does SCHISM still need this step, and if so, is it enough to add it to "src/turbulence/Makefile"?
Thanks a lot!
Here's part of the readme:

_To use gotm inside ELCIRC or SELFE, the following message is from K. Bolding.
Make library inside src/turbulence/Makefile.

Hello

Here comes - most of - the interfacing code using gotm in a 3D model.

This is only from the time-loop. In addition initialisation must be
done:

do j=jjmin,jjmax
do i=iimin,iimax

     if (az(i,j) .eq. 1 ) then

        u_taus = sqrt(taus(i,j)) 
        u_taub = sqrt(taub(i,j))

        h = hn(i,j,:)
        SS1d = SS(i,j,:)
        NN1d = NN(i,j,:)

        tke1d=tke(i,j,:)
        eps1d=eps(i,j,:)
        L1d=cde*tke1d**1.5/eps1d
        num1d=num(i,j,:)
        nuh1d=nuh(i,j,:)

        z0s = 0.1
        z0b=0.5*(max(zub(i-1,j),zub(i,j))+max(zvb(i,j-1),zvb(i,j)))
        if (z0s .gt. D(i,j)/10.) z0s=D(i,j)/10.

        call do_turbulence(kmax,dt,D(i,j),u_taus,u_taub,z0s,z0b,h, &
                           NN1d,SS1d,xP)

        tke(i,j,:) = tke1d
        eps(i,j,:) = eps1d
        num(i,j,:) = num1d + avmback
        nuh(i,j,:) = nuh1d + avhback
     end if

  end do

end do_

from schism.

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.