[FLASH-USERS] [EXT] Segmentation Fault (LaserSlab example)
Marissa B. P. Adams
madams at pas.rochester.edu
Wed Aug 11 13:24:45 EDT 2021
Hi Simon!
As the error notes: "*executable file is not an executable*" so something
is off with your *flash4*, perhaps*.* Can you ls -ltr in your
*object/* directory
where you've performed the command ./flash4? Do you see the permissions as
being executable?
When you set-up did it set-up "SUCCESS"fully? I am a fan of making my own
shell scripts for set-ups and then making my own object directory (e.g. emacs
LaserSlab-TestProblem.sh -nw contains the c&p below; then I make it an
executable chmod a+x LaserSlab-TestProblem.sh; then I just do
./LaserSlab-TestProblem.sh; this way everything is saved). Here is my
example set-up command for the LaserSlab problem:
./setup -auto LaserSlab -2d +cylindrical -nxb=16 -nyb=16 +hdf5typeio \
species=cham,targ +mtmmmt +laser +uhd3t +mgd mgd_meshgroups=6 \
-parfile=example.par -site=mbpadams -objdir=LaserSlab
Try simplifying your HDF5 shortcuts in the set-up command and make sure
that there is no space in "*+uhd3t*". Is there a reason you're forcing the
use of serial HDF5? You can also try setting this up with no HDF5 related
flags; it should (1) set-up (2) make and (3) run successfully. If the same
thing happens, can you make the *Sedov/* problem?
If that doesn't work then maybe there is an issue with the *Makefile.h*
you're using (flags probably) or something off with the installation of the
libraries you're using.
These are just my initial thoughts and I hope they are helpful in your
debugging.
Have a lovely day,
Marissa
On Wed, Aug 11, 2021 at 12:55 PM BolañOs, Simon <sbolanos at ucsd.edu> wrote:
> Hello everyone,
> When executing the Laser Slab example of Section 34.7.5, I got a
> Segmentation Fault, displayed below. Is someone got such a similar error
> during execution? How can I fix such an error?
> By the way here are the module that I turn on: *./setup -auto LaserSlab
> -2d -nxb=16 -nyb=16 +hdf5 +io +serialIO species=cham,targ +mtmmmt +laser
> +u hd3t +mgd mgd_meshgroups=6 -parfile=example.par *
>
> *Error message :*
>
>
>
>
>
> * Finished with Grid_initDomain, no restart Ready to call Hydro_init
> [Hydro_init]: Using non-Cartesian Geometry! Hydro initialized Gravity
> initialized Initial dt verified *** Wrote checkpoint file to
> lasslab_hdf5_chk_0000 **** *** Wrote plotfile to lasslab_hdf5_plt_cnt_0000
> **** Initial plotfile written Driver init all done Program received
> signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace
> for this error: Could not print backtrace: executable file is not an
> executable #0 0x104270b17 #1 0x10426fbab #2 0x193edec43 zsh:
> segmentation fault ./flash4 *
> Thank you in advance for your help,
> Simon.
>
--
%---------------------------------------------%
Marissa B. P. Adams
(she/her/hers)
Phd Candidate, University of Rochester
*E-mail:* madams at pas.rochester.edu
*Website:* https://www.pas.rochester.edu/~madams
<http://www.pas.rochester.edu/~madams#>
*^^ Just updated! Please send me feedback :)*
*Current Location:*
Occupied Seneca Land
471 Bausch and Lomb Hall
University of Rochester
Rochester, NY 14627
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210811/2ebd759b/attachment-0001.htm>
More information about the flash-users
mailing list