Segmentation Fault on tutorial 1

GW, Bethe-Salpeter …

Moderators: maryam.azizi, bruneval

Locked
dgontier
Posts: 8
Joined: Fri Jun 08, 2012 4:31 pm

Segmentation Fault on tutorial 1

Post by dgontier » Tue Mar 04, 2014 10:51 pm

Dear GW group,

I have installed the new version of Abinit (7.6.2), and I tried to run the first tutorial, when I got a segmentation fault error.
Here is my log file.

Did I miss something ?
Thank you for your help,

Sincerely,

David
Attachments
tgw1_1.log
(334.13 KiB) Downloaded 517 times

dgontier
Posts: 8
Joined: Fri Jun 08, 2012 4:31 pm

Re: Segmentation Fault on tutorial 1

Post by dgontier » Wed Mar 05, 2014 10:16 am

I tried to upload the file in this forum, but it seems that, probably due to the size, the only effect was to erase your previous answer...

Anyway, thank you for you answer. You can find the executable here : http://cermics.enpc.fr/~gontierd/abinit.

Bests,

David

martinspenke
Posts: 13
Joined: Wed Feb 12, 2014 2:26 pm

Re: Segmentation Fault on tutorial 1

Post by martinspenke » Wed Mar 05, 2014 12:14 pm

Thanks,
any way i can not run the executable since i get the "bash: ./abinit: Permission denied" message.
I assume you have built abinit as root. So this is for me of no use.
By the way please give me the 64 bit version of the abinit!

Best

dgontier
Posts: 8
Joined: Fri Jun 08, 2012 4:31 pm

Re: Segmentation Fault on tutorial 1

Post by dgontier » Wed Mar 05, 2014 4:19 pm

Hi again,

I am not sure to understand everything. I replaced the first abinit executable by the one found in abinit-7.6.2/src/98_main . I have just recompile it without any sudo command.
Could you tell me if it is working for you ?

Btw, I had trouble when compiling abinit. It worked fine when I put ./configure "FCFLAGS = -g -ffree-line-length-none".

David

martinspenke
Posts: 13
Joined: Wed Feb 12, 2014 2:26 pm

Re: Segmentation Fault on tutorial 1

Post by martinspenke » Wed Mar 05, 2014 6:59 pm

Hi,

your executable does not work for me.
So i compiled the abinit 7.6.2 by my self.
I DO NOT get your error "segmentation fault" which is based on improper memory reference
BUT another error arises which is probably due to a programming bug.

Please have a look at my tgw1.log

Bests
Attachments
tgw1.log
(696.29 KiB) Downloaded 460 times

martinspenke
Posts: 13
Joined: Wed Feb 12, 2014 2:26 pm

Re: Segmentation Fault on tutorial 1

Post by martinspenke » Wed Mar 05, 2014 7:19 pm

But any way i am using ABINIT 7.4.3 version, and this seems really to be a very stale version.
Is there any specific reason you like to use 7.6.2 ?

Bests

dgontier
Posts: 8
Joined: Fri Jun 08, 2012 4:31 pm

Re: Segmentation Fault on tutorial 1

Post by dgontier » Wed Mar 05, 2014 8:33 pm

Thank you for your answer.
No, I think I can try with 7.4.3.

I will install it, and let you know.

dgontier
Posts: 8
Joined: Fri Jun 08, 2012 4:31 pm

Re: Segmentation Fault on tutorial 1

Post by dgontier » Thu Mar 06, 2014 3:54 pm

Hello again,

It did not work.
I did some tests. Here are my conclusions.
I work with an Apple machine (one of the latest MacBook Pro).

If I try ./configure, I have no error message (cf out_configure). However, I have trouble with make, the same as found in this post ( viewtopic.php?f=3&t=1514 ). It seems that it is an assembler problem.

I then tried the solution proposed in the other topic.
I run ./configure --enable-optim="yes" CFLAGS_OPTIM="-O2" FCFLAGS_OPTIM="-O2". I have no trouble with make, but I have the same Segmentation Fault in the first GW test.

I'll try to put some log files later, but for some reasons, I have other problems when I try to redo this sequence...

The good news is that I can run abinit on another machine (Linux), and it works fine.

David

martinspenke
Posts: 13
Joined: Wed Feb 12, 2014 2:26 pm

Re: Segmentation Fault on tutorial 1

Post by martinspenke » Thu Mar 06, 2014 7:17 pm

Hi,
I run it only on a Linux machine and it works fine. So this Abinit version on Linux is really fantastic.
Other machines are mostly devil's sisters and brothers.
With best wishes

Locked