cannot find -lOpenM
Posted: Thu Mar 18, 2010 8:22 pm
Dear all,
I want to compiles openmm with source code,so I do the follows.(I can compile all the exampls download from this website perfectly,but my system with nan outputs if I use the pre-compied openmm)
(1)I remove the document which install openmm with pre-compiled files.But I don'remove mdrun-openmm in gromacs/bin,and params.agb in gromacs/share/gromacs/top.
(2)I compile the source code as the User Manual saids(The configure>genertate>buid>test>install process is ok).But the I don't reset the environment variable ,I think when I install the pre-com
openmm I have add them to the .bash_profile permently.
when I "cd /usr/local/openmm/examples" and "make"
it gives the errors:
g++ -g -I/usr/local/openmm/include HelloArgon.cpp -L/usr/local/openmm/lib -lOpenMM -o HelloArgon
/usr/bin/ld: cannot find -lOpenMM
collect2: ld returned 1 exit status
make: *** [HelloArgon] Error 1
so what's the problem really is? Any help will be appreciate.
Kyle
I want to compiles openmm with source code,so I do the follows.(I can compile all the exampls download from this website perfectly,but my system with nan outputs if I use the pre-compied openmm)
(1)I remove the document which install openmm with pre-compiled files.But I don'remove mdrun-openmm in gromacs/bin,and params.agb in gromacs/share/gromacs/top.
(2)I compile the source code as the User Manual saids(The configure>genertate>buid>test>install process is ok).But the I don't reset the environment variable ,I think when I install the pre-com
openmm I have add them to the .bash_profile permently.
when I "cd /usr/local/openmm/examples" and "make"
it gives the errors:
g++ -g -I/usr/local/openmm/include HelloArgon.cpp -L/usr/local/openmm/lib -lOpenMM -o HelloArgon
/usr/bin/ld: cannot find -lOpenMM
collect2: ld returned 1 exit status
make: *** [HelloArgon] Error 1
so what's the problem really is? Any help will be appreciate.
Kyle