login about faq

I found the option --exitWhenDone in a manual. However, when I try to run it, I get this error:

option --exitWhenDone not recognized

Is there another way of doing this?

asked Mar 28 '12 at 10:32

bangel's gravatar image

bangel
16334


I still have not found way to do this form the command line. But, if in the GUI you set it to close after the simulation is done, then it will close if run from the command line. And I get what I need.

link

answered Mar 31 '12 at 22:22

bangel's gravatar image

bangel
16334

The linux install has a script located in cc3d-3.6.2 called runScript.sh that is required to run CompuCell3D from the command line. I'm not sure how you guys do things in windows, but scripting CompuCell3D in linux is easy.

Here is an instance of running an example scripts supplied in /opt/cc3d-3.6.2/examples_PythonTutorial with no GUI on Ubuntu 12.04.

sudo sh /opt/cc3d-3.6.2/runScript.sh
-i /opt/cc3d-3.6.2/examples_PythonTutorial/cellsort_2D_with_py_plugin/cellsort_2D_with_py_plugin.cc3d

I have to throw the sudo in there to get it to work right out of the box, but it does. :->

link

answered Sep 10 '12 at 19:48

thomas_wood's gravatar image

thomas_wood
11

I am having a similar issue.

compucell3d.bat -i "mysimulation" works fine, but attempting to set the output directory like

compucell3d.bat -i "mysimulation" -o "outputdir" causes the player to hang because it can't find the output directory.

Likewise, the --exitWhenDone option does not work. Have these problems been fixed? The inability to specify a custom output directory is very frustrating and prevents me from automating everything, on a windows machine at least.

link

answered Oct 24 '12 at 12:01

Dan%20Y's gravatar image

Dan Y
6123

Hi Dan,

The Ubuntu 12.04 binaries work for doing this in case you *really* need to get it automated quickly. I'm not so sure about doing it batch style in windows, though. I am in the process of *compiling from source* for my linux machine because the OpenCL example Demos that are included with the Windows executables are absent from the .deb file I installed, for understandable reasons (Linux distros are pretty heterogeneous).

As a fellow user, my recommendation would be for you to install linux ( Ubuntu is good ) and compile from source as described at the page http://www.compucell3d.org/SourceCode. That is the beauty of open source software. If there is any problem with an executable, you can fix it! Also, if you are playing around with the Demos with Ubuntu 12.04, be mindful that you will probably need to move the files in /opt/sundials-*/lib to /usr/lib or mess around with swig so the steppables know where to look for the sbml ode solver functions. The program exits with a Seg Fault, but it gets the right answers, so fixing it is a lower priority.

link

answered Oct 28 '12 at 01:18

thomas_wood's gravatar image

thomas_wood
11

edited Oct 28 '12 at 01:27

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: Mar 28 '12 at 10:32

Seen: 546 times

Last updated: Oct 28 '12 at 01:27

powered by OSQA