Howdy Y'all,

I have a lab where REFMAC jobs are blowing up trying to access the
monomers database. The logfile looks like this:

Open failed: Unit:   7, File:
/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif
(logical: 
/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif)
<B><FONT COLOR="#FF0000"><!--SUMMARY_BEGIN-->
Last system error message: Illegal seek
Refmac_5.7.0032:   Open failed: File:
/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif
Refmac_5.7.0032:   Open failed: File:
/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif

CCP4/REFMAC are being run from a read-only NFS volume. The NFS server
is RHEL 5 and the NFS client is RHEL 6. (I can get further details if
necessary.)

It looks like REFMAC is trying to open
$CLIBD_MON/list/mon_lib_list.cif read-write and then read-only, but
with the flag to create it, which is causing the system to return -1
for both open calls.

stat("/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif",
{st_mode=S_IFREG|0644, st_size=1078257, ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat(0, {st_mode=S_IFREG|0600, st_size=750, ...}) = 0
open("/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif",
O_RDWR|O_CREAT, 0666) = -1 EROFS (Read-only file system)
open("/programs/x86_64-linux/ccp4/6.3.0/ccp4-6.3.0/lib/data/monomers/list/mon_lib_list.cif",
O_RDONLY|O_CREAT, 0666) = -1 EROFS (Read-only file system)
lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(1, " Open failed: Unit:   7, File: /"..., 212) = 212
lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
lseek(1, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(1, "<B><FONT COLOR=\"#FF0000\"><!--SUM"..., 46) = 46
dup(2)                                  = 5
fcntl(5, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(5, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b4842405000
lseek(5, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(5, "Last system error message: Illeg"..., 40) = 40
close(5)                                = 0
munmap(0x2b4842405000, 4096)            = 0
write(2, " Refmac_5.7.0032:   Open failed:"..., 147) = 147

What's confusing is that we have almost this exact same set up (RO NFS
sharing the software to many workstations) in _hundreds_ of labs and
none of them are having this problem.

I suppose I will go to the REFMAC/CCP4lib source next. Any other ideas
on how we can proceed?

Thanks.

-ben

--
| Ben Eisenbraun
| SBGrid Consortium                          | http://sbgrid.org       |
| Harvard Medical School                     | http://hms.harvard.edu  |

Reply via email to