SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
412 stars 229 forks source link

🐛 [BUG] - <title>At the start of use #1758

Open Seisstudnet opened 2 days ago

Seisstudnet commented 2 days ago

Description

This is my first time to use SPECFEM3D. I want to run EXAMPLES/benchmarks/attenuation/viscoelastic/run_this_example.sh, but its error is "ln: failed to create symbolic link './xmeshfem3D': Operation not permitted", includes ./xgenerate_databases and ./xspecfem3D. How can I solve this problem?

Affected SPECFEM3D version

the newest

Your software and hardware environment

ubuntu 22.04

Reproduction steps

in file "EXAMPLES/benchmarks/attenuation/viscoelastic" then "./run_this_example.sh"

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

OS

No response

mnagaso commented 2 days ago

Hi,

It must be the problem on the permission of where you are trying to create the symlinks of bin contents. So please check that around. It should not be marked as bug.

Seisstudnet commented 2 days ago

Hi,

It must be the problem on the permission of where you are trying to create the symlinks of bin contents. So please check that around. It should not be marked as bug.

Thank you for your reply. It's really not a bug, it's that I didn't change the title. I'll check my use of it based on your suggestions. By the way, I have carefully adhered to the steps outlined for the SPECFEM3D installation. I am optimistic that everything should be functioning as intended. I'll try to improve it. Thank you so much!

mnagaso commented 2 days ago

No problem! Probably, you can at first check if xspecfem3D etc. are created in your specfem3d/bin directory after compilation. Then you can also check if the command ln -s ../../../../../bin/xmeshfem3D . in your example directory EXAMPLES/benchmarks/attenuation/viscoelastic/ to check if you will have the same error.