[ADMB Users] Launching several ADMB programs simultaneously

Nassar nassar.naji at orange.fr
Thu Dec 29 10:09:02 PST 2011


Thanks Weihai & Rick

 

 

That’s what I finally adopt..

1-      Keeping at the root directory common files and calling them from
subdirectories (  !! ad_comm::change_datafile_name("..\\qtty.dat"))

2-      Putting into the modelxx subdirectories with the exe, pin and dat
file

a.       Modelxx\model.exe

b.      Modelxx\model.dat

c.       Modelxx\model.pin

3-      Running a bat file from D> (runmodel.bat):

cd level01

model -nox -est -ams 20000000 -cbs 20000000 -gbs 20000000

cd ..

a.       the tmp and results files are located at the moldexx directory

 

The last step is to run simultaneously all the models
 

Best regards

De : weihailiu at gmail.com [mailto:weihailiu at gmail.com] De la part de Weihai
Liu
Envoyé : jeudi 29 décembre 2011 17:32
À : Nassar
Cc : users at admb-project.org
Objet : Re: [ADMB Users] Launching several ADMB programs simultaneously

 

Try to copy your data file to EACH folder which hold your .exe file, such as
copy qqtty.dat to d:\model13\

 

weihai

On Thu, Dec 29, 2011 at 6:27 AM, Nassar <nassar.naji at orange.fr> wrote:

Thanks Aaron, Mark ; Chris & KvK

 

 

The issue is related to interaction between ADMB and OS, how do ADMB reads
its files (ad_comm files) .. and how OS launch several & independent ADMB
executables.

My case : one data file at D root and several models..
D:\model01\model01.exe..D:\ model13\model13.exe

-          Write a batch command file.. 

The trouble I’m getting :

-          Unable to make the commands that launch the 13 models (it’s an OS
issue), some help is highly welcome

-          The data file is at the D root and the launching any model with
the command

o   > Mode01\model

o   Error trying to open data input file qqtty.dat 

o   While this file is located at model01 subdirectory..

 

DATA_SECTION




  !! ad_comm::change_datafile_name("qqtty.dat");

 

Thanks for help

Naji


_______________________________________________
Users mailing list
Users at admb-project.org
http://lists.admb-project.org/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20111229/4a174b55/attachment.html>


More information about the Users mailing list