古いバージョンのBBSは閲覧のみ可能です。
The old BBS is read only.

Replies : 2 Last Post : July 01, 2015 (Wed) 20:31:10

6623

running executable

Posted on : June 30, 2015 (Tue) 21:18:04

by Karim

Dear all

I compile the code akai perfectly I used compiler gfortran
but I try to run the executable , error messages appear :
Segmentation fault (core dumped)
example: /path/cpa2002v009c/ specx <in/co

Could you help me
Thank you

 
 

6624

[Re:01] running executable

Posted on : July 01, 2015 (Wed) 08:15:56

by Hitoshi GOMI

Hello Karim,

I wonder if you correctly set up the OpenMP.
In order to confirm it, please edit the makefile as follows to turn off the OpenMP, and make it again.


##########################
# In the case of gfortran
##########################
fort = gfortran
flag = -O2
omp =
nomp =
#


$ emacs makefile -nw
$ touch source/*.f
$ make
$ specx <in/co


Hitoshi

 
 

6625

[Re:02] running executable

Posted on : July 01, 2015 (Wed) 20:31:10

by Karim

Thank you Hitoshi for your precious help
i run the executable