UNIX nrnivmodl compilation error

Post Reply
ulrikhp

UNIX nrnivmodl compilation error

Post by ulrikhp »

Hello,

I have some scripts ready that I would like to run on my university UNIX server. However, when I try to compile my mod-files on the UNIX server (using nrnivmodl), I get the error message below. As far as I can see, the compiler cannot find certain files although they actually are at the right location. I have been told that the same installation of NEURON used to work on that server...

I have no problem compiling the same mod-files on my own windows computer. Do you have an idea of what could be wrong here?

Best regards,
Ulrik

------------------------------
bohr(bgni) $ nrnivmodl na.mod
gcc -DHAVE_CONFIG_H -I. -I.. -I/appl/gneuron/nrn/include/nrn -I/appl/gneuron/nrn/sparc/lib -g -O2 -c mod_func.c
/appl/gneuron/nrn/share/nrn/libtool --mode=link g++ -g -O2 -o special /appl/gneuron/nrn/sparc/lib/nrnmain.o /appl/gneuron/nrn/sparc/lib/ivocmain.o /appl/gneuron/nrn/sparc/lib/nvkludge.o na.o mod_func.o -L/appl/gneuron/nrn/sparc/lib -lnrnoc -loc -lnrniv -livoc -lneuron_gnu -lscopmath -lsparse13 -lsundials -lnrnmpi -lmemacs -lmeschach /appl/gneuron/iv/sparc/lib/libIVhines.la -lSM -lICE -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl -lreadline -lncurses -lm
libtool: link: warning: library `/appl/gneuron/iv/sparc/lib/libIVhines.la' was moved.
libtool: link: warning: library `/appl/gneuron/iv/sparc/lib/libIVhines.la' was moved.
g++ -g -O2 -o special /appl/gneuron/nrn/sparc/lib/nrnmain.o /appl/gneuron/nrn/sparc/lib/ivocmain.o /appl/gneuron/nrn/sparc/lib/nvkludge.o na.o mod_func.o -L/appl/gneuron/nrn/sparc/lib /appl/gneuron/nrn/sparc/lib/libnrnoc.so /appl/gneuron/nrn/sparc/lib/liboc.so -L/usr/openwin/lib /appl/gneuron/nrn/sparc/lib/libnrniv.so /appl/gneuron/nrn/sparc/lib/libivoc.so /appl/gneuron/nrn/sparc/lib/libneuron_gnu.so /appl/gneuron/nrn/sparc/lib/libscopmath.so /appl/gneuron/nrn/sparc/lib/libsparse13.so /appl/gneuron/nrn/sparc/lib/libsundials.so /appl/gneuron/nrn/sparc/lib/libnrnmpi.so /appl/gneuron/nrn/sparc/lib/libmemacs.so /appl/gneuron/nrn/sparc/lib/libmeschach.so /appl/gneuron/iv/sparc/lib/libIVhines.so -lSM -lICE -lX11 -lsocket -lnsl -lreadline -lncurses -lm -Wl,-R -Wl,/appl/gneuron/nrn/sparc/lib -Wl,-R -Wl,/appl/gneuron/iv/sparc/lib -Wl,-R -Wl,/appl/gneuron/nrn/sparc/lib -Wl,-R -Wl,/appl/gneuron/iv/sparc/lib -Wl,-R -Wl,/usr/openwin/lib
ld: fatal: library -lreadline: not found
ld: fatal: library -lncurses: not found
ld: fatal: File processing errors. No output written to special
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `special'
------------------------------
hines
Site Admin
Posts: 1600
Joined: Wed May 18, 2005 3:32 pm

Re: UNIX nrnivmodl compilation error

Post by hines »

libtool: link: warning: library `/appl/gneuron/iv/sparc/lib/libIVhines.la' was moved.
ld: fatal: library -lreadline: not found
ld: fatal: library -lncurses: not found
I would reconfigure and rebuild InterViews and NEURON after doing a
make clean.
Post Reply