Install Vasp.5.4.1 on Blue Gene/Q

Questions regarding compilation of VASP on various platforms.

Moderators: Moderator, Global Moderator

Install Vasp.5.4.1 on Blue Gene/Q

Postby zhouych » Tue Jan 05, 2016 9:23 am

Hi all,
I try to compile VASP.5.4.1 on blue gene. I compiled one version vasp, but when I run it, it gets error like:
getshmem in getshmem.c: cannot create shared segment 8
getshmem in getshmem.c: cannot create shared segment 8
getshmem in getshmem.c: cannot create shared segment 8


I followed the error and found it due the shared memory.
This error comes from the sentence in getshmem.c.

shmid = shmget(key, *size, shmflg);


but it return a negative shmid. The spefic value for calling shmget is:
shmflg: 6016; size: 8; key 0


Does anybody know how to fix it?
Many thanks!

Regards,
Yecheng
zhouych
Newbie
Newbie
 
Posts: 5
Joined: Sun Dec 27, 2015 7:08 am

Re: Install Vasp.5.4.1 on Blue Gene/Q

Postby zhouych » Wed Jan 06, 2016 6:19 am

Hi all,

It is system problem , nothing with VASP.
I make a new test.c with content:

Code: Select all
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
int main()
{
  int i,j,shmid,key;
  key_t Key;
i=8;
j=6016;
Key = 0;
shmid = shmget( key, /* identity key */
i, /* memory size */
j); /* creation or use */
printf("shmid :  %d  \n", shmid);
}


And compile it with bgxlc.

[zhouych@avoca CsSnI3]$ ./a.out
shmid : 360452
[zhouych@avoca CsSnI3]$ salloc -N 1 -t 2:00:00
.................
[zhouych@avoca CsSnI3]$ srun ./a.out
2016-01-06 14:56:51.062 (FATAL) [0x400014a9440] 23080:ibm.runjob.client.Job: could not start job: job failed to start
2016-01-06 14:56:51.062 (FATAL) [0x400014a9440] 23080:ibm.runjob.client.Job: Load failed on R01-ID-J02: Application executable ELF header contains invalid value, errno 8 Exec format error
[zhouych@avoca CsSnI3]$ ./a.out
shmid : 360452


It works ok if we run it directly, but it does not work when we perform it with srun.

Is anybody know why?

Cheers,
Yecheng
zhouych
Newbie
Newbie
 
Posts: 5
Joined: Sun Dec 27, 2015 7:08 am

Re: Install Vasp.5.4.1 on Blue Gene/Q

Postby qingpeng » Sat Aug 20, 2016 5:53 pm

I got the same error. Have you solved this problem?
Any suggested solution?

Thanks
qingpeng
Newbie
Newbie
 
Posts: 2
Joined: Sun Mar 09, 2014 9:12 pm
Location: Troy, NY


Return to Installation problems

Who is online

Users browsing this forum: No registered users and 2 guests