4 #include "../nrncvode/nrnneosm.h" 10 extern int ivocmain(
int,
const char**,
const char**);
13 #if NRNMPI_DYNAMICLOAD 14 extern void nrnmpi_stubs();
15 extern char* nrnmpi_load(
int is_python);
18 extern "C" void nrnmpi_init(
int nrnmpi_under_nrncontrol,
int* pargc,
char*** pargv);
25 #if defined(AUTO_DLOPEN_NRNMECH) && AUTO_DLOPEN_NRNMECH == 0 32 printf(
"argv[%d]=|%s|\n",
i, argv[
i]);
36 #if NRNMPI_DYNAMICLOAD 39 if (strcmp(
"-mpi", argv[
i]) == 0) {
41 pmes = nrnmpi_load(0);
53 return ivocmain(argc, (
const char**)argv, (
const char**)env);
57 void nrn2ncs_outputevent(
int,
double){}
67 #if 0 && NRNMPI && DARWIN 74 static void work_around() {
75 MPI_Comm
c = MPI_COMM_WORLD;
81 MPI_Unpack(0, 0, 0, 0, 0, 0, c);
82 MPI_Pack(0, 0, 0, 0, 0, 0, c);
83 MPI_Pack_size(0, 0, c, 0);
84 MPI_Send(0,0,0,0,0,c);
85 MPI_Probe(0, 0, c, 0);
86 MPI_Get_count(0, 0, 0);
87 MPI_Recv(0,0,0,0,0,c,0);
88 MPI_Sendrecv(0,0,0,0,0,0,0,0,0,0,c,0);
89 MPI_Iprobe(0,0,c,0,0);
91 MPI_Type_create_struct(0,0,0,0,0);
93 MPI_Allgather(0,0,0,0,0,0,c);
94 MPI_Allgatherv(0,0,0,0,0,0,0,c);
95 MPI_Allreduce(0,0,0,0,0,c);
int ivocmain(int, const char **, const char **)
Main entrypoint function into the HOC interpeter.
int main(int argc, char **argv, char **env)
void nrnmpi_init(int nrnmpi_under_nrncontrol, int *pargc, char ***pargv)
int nrn_isdouble(double *, double, double)
int nrn_noauto_dlopen_nrnmech