[ADMB Users] glitch in tpl2rem (and tpl2cpp) ?

John Ancheta jnancheta at gmail.com
Tue Dec 9 10:37:24 PST 2008


Download and install a current version of ADMB from

http://admb-project.org/downloads

Installation guides can be found at

http://admb-project.org/documentation

Let me know,
johnoel

On Dec 9, 5:53 am, "Poos, Jan Jaap" <janjaap.P... at wur.nl> wrote:
> Hi,
>
> I found a small problem with respect to tpl2rem on linux, using
> admb-9.0.9rc2-linux64-gcc3.4. When using tpl2rem on a file on one of our
> network disks, this results in:
>
> sh: envpref.htp: Permission denied
> Error executing command  sed -e " "  classdef.tmp > envpref.htp
> sh: envpref.htp: Permission denied
> Error executing command sed -n -f
> /home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin
> /seddf1b3 tfile2 >> envpref.htp
> sh: envpref.htp: Permission denied
> Error executing command sed -n -f
> /home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin
> /seddf1b4 tfile4 >> envpref.htp
> sh: envpref.htp: Permission denied
> Error executing command sed -f
> /home/poos001/admb-9.0.9rc2-linux64-gcc3.4/bin/se
> ddf1b2 tfile2 >> envpref.htp
> etc.
>
> Subsequently, the directory in which the tpl file is located looks like:
>
> -rw-r--r-- 1 root    imares    1894 2008-12-09 16:36 classdef.tmp
> -rw-r--r-- 1 root    imares    3817 2008-12-09 16:36 envpref.cpp
> -rwxrwxrwx 1 poos001 imares 6622965 2008-10-04 22:25 envpref.dat
> -rw-r--r-- 1 root    imares    1894 2008-12-09 16:36 envpref.htp
> -rwxrwxrwx 1 poos001 imares    4132 2008-10-04 22:25 envpref.pin
> -rwxrwxrwx 1 poos001 imares    2308 2008-12-09 14:01 envpref.tpl
> -rw-r--r-- 1 root    imares       0 2008-12-09 16:36 header.tmp
> -rw-r--r-- 1 root    imares    1263 2008-12-09 16:36 tfile1
> -rw-r--r-- 1 root    imares     126 2008-12-09 16:36 tfile2
> -rw-r--r-- 1 root    imares     383 2008-12-09 16:36 tfile3
> -rw-r--r-- 1 root    imares     122 2008-12-09 16:36 tfile4
> -rw-r--r-- 1 root    imares     585 2008-12-09 16:36 xxalloc1.tmp
> -rw-r--r-- 1 root    imares     179 2008-12-09 16:36 xxalloc2.tmp
> -rw-r--r-- 1 root    imares     836 2008-12-09 16:36 xxalloc3.tmp
> -etc.
>
> So, all the temporary files remain in the directory. Running tpl2rem
> again results in a segmentation fault.
>
> This looks like a problem with setting the permissions when the
> temporary files are made. The problem disappears when copying the files
> to another location (like the users home dir). The same problem also
> disappears when running tpl2env as root. Maybe this can be looked into
> and fixed in a future version?
>
> Cheers, thanks in advance, Jan Jaap
>
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list