Simulations without GUI

Anything that doesn't fit elsewhere.
Post Reply
asad

Simulations without GUI

Post by asad »

Hello,

I seem to have run into difficulties. I have a model that I am very happy with. It has a nice GUI that works just fine. Now I want to be able to run my simulations without the GUI (ssh, nohup) and I have followed the instructions in the FAQ. I have removed the GUI parts and run the hoc-file with the command "sparc/special myhoc.hoc". Unfortunately, it doesn't work. I get the following error-message:

Code: Select all

sparc/special: begin : object prefix is NULL in myhoc.hoc near line 409
run_iterative()
                ^
        init()
      run()
    run_iterative()
Can someone tell me what this means?

Thanks,
Asad Rustum
hines
Site Admin
Posts: 1711
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

What happens if you take the simulation code that includes the GUI (I assume you launch with something like "nrngui myfile.hoc") and launch with
nrngui --bbs_nhost 0 myfile.hoc
The option was obviously intended for other purposes but for you it has the desirable side effect of turning off the gui without having to remove any gui code from your hoc files. Is this sufficient for your purposes? If not then I don't think you have removed enough code. I'm guessing that the error refers to something normally loaded by the nrngui.hoc file. If you continue to have problems, send me a zip file of al the hoc/ses/mod files necessary to produce the problem along with instructions as to how to launch it.
Post Reply