Thanks very much for the reply! Sorry that I didn't check back sooner for your answer.
I've actually run into a new snag. I'm trying to submit a PBS script to our cluster's queuing system that runs a matlab script that calls NetLogo. I'm using the following to call NetLogo and run a behavior space experiment: *system(['java -Xmx1024m -Dfile.encoding=UTF-8 -cp /Volumes/jbw2w/netlogo-5.0.4/NetLogo.jar org.nlogo.headless.Main '... '--threads 16 '... '--model /Volumes/jbw2w/GeneticAlgExperimnets/SproutingAngio_V4.nlogo '... '--experiment GenAlg '... '--table /Volumes/jbw2w/GeneticAlgExperiments/GeneticAlgorithmOutput.csv']);* If I run the script that contains that code from the Matlab command line it works perfectly. However, if I use this to call the script from the linux cluster: *matlab -singleCompThread -nodisplay -r "testingScript;exit" -logfile matlab_output2* I get the error message that I was receiving in the original post. The file "testingScript" is being executed properly in every aspect *except* that it isn't successfully calling the NetLogo file. I've been able to run NetLogo on the linux cluster before without issue, but now that I'm trying to control NetLogo using Matlab something new has broken. Thanks very much for any help, and thanks again for your comment on my first post! -Joe- On Monday, February 3, 2014 8:05:04 PM UTC-5, Seth Tisue wrote: > > >>>>> "JWalpole" == JWalpole <[email protected] <javascript:>> writes: > > JWalpole> Hmm, oddly enough, removing the "~/" from the path seems to > JWalpole> have fixed this error. I guess as long as I can always have > JWalpole> both the matlab script file and the Netlogo.jar file and lib > JWalpole> fold in the same location that this will work. > > It should also work to expand ~ into an absolute path yourself. > > ~ notation doesn't exist at the OS level; it's purely a shell thing. > No shell is involved here, so ~ doesn't get expanded for you. > > -- > Seth Tisue | http://tisue.net > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
