[ADMB Users] Running from remote directory

mintoc at mathstat.dal.ca mintoc at mathstat.dal.ca
Tue Oct 26 04:37:09 PDT 2010


Hi Mark,

It looks like the relative path is causing the issue in

http://admb-project.googlecode.com/svn/trunk/src/sparse/string1.cpp

You could try feeding it a slash before going one directory up, e.g.

./../forward

with the relevant -ind argument for where the data are.

Best regards,
Coilin


> Dear ADMBers,
>
> I was wondering if someone could help me interpret the following please -
> I don't know whether this is a bug or just me doing something not
> intended.
>
> I have built my model in ADMB and it runs fine. I would now like to use it
> in a batch-processing mode, where I run through a series of different
> input files, fit the model accordingly, and save the corresponding
> results. I have automated most of this through the use of a makefile.
>
> The problem, however, pops up when I try to run my ADMB model in a
> temporary directory, other than that which contains the executable. eg the
> name of the executable is "forward" and it sits in the parent directory
> (..), one above the directory I am in. When I try to run it, it fails with
> the following error.
>
>
> mpa at ch-linux05:~/Forward trajectories/trunk/Model/tmp$ ../forward
>
> Second index out of bounds in adstring::operator () (int,int)
> Index value was 0 The size of this adstring is 10
> mpa at ch-linux05:~/Forward trajectories/trunk/Model/tmp$
>
> Running it from the parent directory (../) or using a soft link works
> fine. Any ideas? Is this a bug?
>
> Cheers,
>
> Mark
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>





More information about the Users mailing list