Git Product home page Git Product logo

sava's People

Contributors

daniel-koehn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sava's Issues

Issue compiling with AOCC 3.1 & gcc 11

Good day,

I'm trying to compile sava with the latest compilers from AMD and also from gcc.

In the case of AOCC 3.1, which uses clang (LLVM 12), I have no issue compiling utilities like snapmerge.

But I do get the following error when I attempt to compile e.g. sava_ISO or other targets:

[ec2-user@ip-172-31-19-32 src]$ make sava_ISO
clang++ -I/fsx/scripts/spack/opt/spack/linux-amzn2-zen/gcc-7.3.1/openmpi-4.1.2-uwkdrktfb5nm6usew2y7fjzjz2bjt3fe/incde -pthread -fuse-ld=lld -Wl,-allow-multiple-definition -march=znver3 -mavx2 -O3 -w -fno-stack-protector -D_FORTIFYOURCE=0 -fPIE -c ISO/FD_ISO.c -I./../include
ISO/FD_ISO.c:543:1: error: use of undeclared identifier 'forward_ISO'
forward_ISO(&wave,&pmls,&mat,&geom,&mpi,&seis,&acq,&times,ns);
^
1 error generated.

When I look at the line in question, I see it's a function.

* *************************************************************************
*  Calculate 3D Forward Wavefield for all shots
****************************************************************************/
forward_ISO(&wave,&pmls,&mat,&geom,&mpi,&seis,&acq,&times,ns);

The function is defined in one of the includes in this source file, so the syntax error confuses me. Any ideas on what I'm doing wrong?

FWI

Really nice modeling code.

How could I try triclinic FWI (it seems commented out below and I can't find the functions)?

`
/* 3D triclinic elastic forward problem */
//if(MODE==0){
FD_TRICL();
//}

/* 3D triclinic elastic Full Waveform Inversion */
/*if(MODE==1){
   FWI_TRICL();
}*/

    /* 3D triclinic elastic Reverse Time Migration */
/*if(MODE==2){
   RTM_TRICL();
}*/

`

how to run FWI

Hi, I only found the forwarding part in the Code, what should I do for FWI?

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.