SPECFEM / specfem2d

SPECFEM2D simulates forward and adjoint seismic wave propagation in two-dimensional acoustic, (an)elastic, poroelastic or coupled acoustic-(an)elastic-poroelastic media, with Convolution PML absorbing conditions.
GNU General Public License v3.0
191 stars 147 forks source link

GIT repository appears incomplete (default example doesn't run) #113

Closed dgsharp closed 9 years ago

dgsharp commented 10 years ago

I cloned this repository from GitHub using the following command:

git clone --recursive https://github.com/geodynamics/specfem2d.git

I seem to see everything in my local copy that is on the web interface. I've finally gotten it in a state where I think it should be working, but all the examples including the default one they give in the README fail. I was able to get it working, and I believe the problem is traced to the fact that there appear to be two separate repositories of code (one GIT, one SVN) which are out of sync. The one here on GitHub is missing the directory "EXAMPLES/M2_UPPA", as can be found here:

https://geodynamics.org/svn/cig/seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/

I manually pulled in that directory and it still didn't work. Finally when I manually created the OUTPUT_FILES directory that it had been trying to write into, the default demo succeeded. I'm just starting off so I apologize if I've missed anything silly.

-Dave

komatits commented 10 years ago

Hi Dave,

Just add " --branch devel " to the git clone option and you should be all set.

Eric, could you thus merge "devel" into "master" for the 2D code, since it seems "master" is currently broken?

Thanks, Dimitri.

On 24/07/2014 20:44, dgsharp wrote:

I cloned this repository from GitHub using the following command:

git clone --recursive https://github.com/geodynamics/specfem2d.git

I seem to see everything in my local copy that is on the web interface. I've finally gotten it in a state where I think it should be working, but all the examples including the default one they give in the README fail. I was able to get it working, and I believe the problem is traced to the fact that there appear to be two separate repositories of code (one GIT, one SVN) which are out of sync. The one here on GitHub is missing the directory "EXAMPLES/M2_UPPA", as can be found here:

https://geodynamics.org/svn/cig/seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/

I manually pulled in that directory and it still didn't work. Finally when I manually created the OUTPUT_FILES directory that it had been trying to write into, the default demo succeeded. I'm just starting off so I apologize if I've missed anything silly.

-Dave

— Reply to this email directly or view it on GitHub https://github.com/geodynamics/specfem2d/issues/113.

Dimitri Komatitsch CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics, UPR 7051, Marseille, France http://komatitsch.free.fr

komatits commented 9 years ago

Fixed by Eric (he merged devel into master).