With NEURON 7.3 (840:c597ab253106) 2013-03-31 under CentOS 6.4 (RHEL 6.4 without the brand name), serial execution of main.hoc runs to completion without error and generate a file called result_5V.dat that contains the same result regardless of whether it is launched by
nrniv main.hoc
or
nrngui main.hoc
Parallel execution also runs to completion without error, but generates a result_5V.dat that has the same two lines as the serially-generated file, but the sequence of the lines is backwards i.e. the first line of the serially-generated output is the second line of the parallel-generated file, and the second line of the serially-generated file is the first line of the paralllel-generated file.
What is the first line that NEURON prints to its terminal when it starts?
Also, please save this code
Code: Select all
objref pc
pc = new ParallelContext()
{printf("I am %d of %d\n", pc.id, pc.nhost)}
{pc.runworker()}
{pc.done()}
quit()
to a file called test.hoc, run it with this command line
mpirun -n 4 nrniv -mpi test0.hoc
and tell me what you get.