SIGSEGV signal (forbidden memory area access) intercepted!

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Jean-Paul Voyat

Re: SIGSEGV signal (forbidden memory area access) intercepted!

Post by Jean-Paul Voyat »

Hi,
                not yet there ...
I uninstalled MPICH2, reinstalled all the packages (optional and compulsory), restarted the CS installation from the beginning with a corrected setup file. I had to restart the process many times to get all the packages compiling. All but ncs ... What I got is attached here after, with the setup file I used.
This time I really have no clue where the problem is ....
Sorry for bothering you so much.
Have a nice day
                 JP
____________________
Attachment:
install_saturne.log [217.4 KiB]
Jean-Paul Voyat

Re: SIGSEGV signal (forbidden memory area access) intercepted!

Post by Jean-Paul Voyat »

Other attachment
____________________
Attachment:
setup_jp_start [5.3 KiB]
Jean-Paul Voyat

Re: SIGSEGV signal (forbidden memory area access) intercepted!

Post by Jean-Paul Voyat »

Other attachment
____________________
Attachment:
config.log [95.8 KiB]
Yvan Fournier

Re: SIGSEGV signal (forbidden memory area access) intercepte

Post by Yvan Fournier »

Hello,

In the build directory for ncs, what files do you see if you run : "ls ncs/base/.libs" ? To force things, you may want to run:
rm ncs/base/libcshot_la-gradmc.lo
rm ncs/base/.libs/libcsshot_la-gradmc.o
make
Hoping the issue is related to an earlier build attempt.

Best regards.

  Yvan
Jean-Paul Voyat

Re: SIGSEGV signal (forbidden memory area access) intercepte

Post by Jean-Paul Voyat »

Ok, I tried to eliminate all the old directories and to start from the beginning again.

I got to the same result.

What I get from the ls command you requested is:

jpv@jpv-laptop:~/Programs/CodeSaturne/installerJP/ncs-2.0.2.build$ ls src/base/.libs
libcshot_la-cs_benchmark.o
libcshot_la-cs_matrix.o libcshot_la-cs_blas.o
libcshot_la-cs_sles.o
jpv@jpv-laptop:~/Programs/CodeSaturne/installerJP/ncs-2.0.2.build$

Note that the directory "ncs" doesn't exist in the build directory, so I searched around and found that probably you meant "src" ...

I am thinking about reinstalling the whole Ubuntu to see if something changes ... of course it is a pain in the a..

Have a nice day
                                             JP
____________________
Attachment:
install_saturne.log [41.7 KiB]
Yvan Fournier

Re: SIGSEGV signal (forbidden memory area access) intercepte

Post by Yvan Fournier »

Hello again,

I finally just noticed that you seem to be using a Fortran 77 compiler (f77) and not a fortran 95 compiler (gfortran for example).

It is surprising that you even got this far, but explains why some files are not compiled.

Simply use a Fortran 95 compatible compiler (define CompF in the setup file), and restart just the ncs build (the other packages should be OK, as they do not use Fortran code).

Best regards,

  Yvan
Jean-Paul Voyat

Re: SIGSEGV signal (forbidden memory area access) intercepte

Post by Jean-Paul Voyat »

EUREKA !!

                        It's not been enough to change the fortran version, I still had the same problem.

I tried many changes, then decided to proceed manually: a disaster ! But during the manual attempts I noticed that hdf5 couldn't be found in /usr/lib ... but it could in /usr.

So I changed all the paths in the compulsory and optional libraries to /usr ... and it worked !!

Attached is the setup file I used.

The last problem is that the command code_saturne is not directly recognized, I have to put it in the path somehow...

Thank you very much

                       JPV
____________________
Attachment:
setupjpstart [5.3 KiB]
Post Reply