Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
151 views
Skip to first unread message
Zac Smith
unread,
Mar 3, 2024, 12:06:08 AMMar 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear CP2K Community. I'm running a job to optimize the calculation of excited states of a periodic system and I encountered this error Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Do you have any suggestions for changes to avoid this error? I am attaching the submitted submit file and slurm.out file for your reference. Thanks.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Zac,
without providing your CP2K input file "BN.inp" and the respective output file (not the Slurm input/output files), we can only guess. Depending on the size of your system, you might be running out of memory in which case you need a larger number of compute nodes or less MPI ranks per node while increasing the number of OpenMP threads appropriately. It could also be a bug which we can only identify if you provide the CP2K input and output files.
Best,
Frederick
Zac Smith
unread,
Mar 3, 2024, 10:02:39 PMMar 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Frederick,
I've attached the input, output files for your reference. BN__PBE.wfn is a first guess to facilitate accelerated PBE0 calculations.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Zac,
Thank you for the files. Unfortunately, I am not familiar with TDDFPT in CP2K and the execution stops right there. So, someone else will have to jump in.
Best,
Frederick
Jürg Hutter
unread,
Mar 4, 2024, 5:45:25 AMMar 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp...@googlegroups.com
Hi
your input runs on my system (48 cores, 256 GB memory).
The only change I did was to increase the truncation radius to 4 A.
I have some concerns on your system. It seems you have degenerate orbitals
and probably degenerate excited states. A geometry optimization might need
special care for these states.
regards
JH
________________________________________
From: cp...@googlegroups.com <cp...@googlegroups.com> on behalf of Zac Smith <qingxi...@gmail.com>
Sent: Monday, March 4, 2024 4:02 AM
To: cp2k
Subject: [CP2K:19986] Re: Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
No worries, I think that your suggestion are vey useful.
Zac Smith
unread,
Mar 4, 2024, 10:26:15 PMMar 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp2k
Dear Jürg,
Thank you for the suggestion.The modification to increase the truncation radius to 4 A worked, and the calculations started running. Can you tell me how to determine the increase of the truncation radius to 4 A?
Have a good day
Zac
Jürg Hutter
unread,
Mar 5, 2024, 5:02:57 AMMar 5
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cp...@googlegroups.com
Hi
you can find information on the truncation radius in the original paper by
M. Guidon et al. You can also make some tests yourself.
I would say as a rule of thumb: 4.5 A is in the lower range of acceptable values,
6 A and above is usually save. Half the box length is another important value
(see discussion in the paper).
Sent: Tuesday, March 5, 2024 4:26 AM
To: cp2k
Subject: Re: [CP2K:19996] Re: Program received signal SIGSEGV: Segmentation fault - invalid memory reference.