Closed WentongZhou closed 5 months ago
Hi, I probably forgot to comment these things out after testing them. 3.0dev is a development branch after all. I pushed a change to the branch, you should now be able to pull and build it. Tell me if there are further issues.
playground.f90 is good now, the tree.f90 still has some issues.
CMakeFiles/crest-exe.dir/src/rigidconf/tree.f90.o: In function
rigidconftree':
/home/wz28l/crest-3.0dev/src/rigidconf/tree.f90:126: undefined reference to better_xyzint_' /home/wz28l/crest-3.0dev/src/rigidconf/tree.f90:128: undefined reference to
printzmat'
CMakeFiles/crest-exe.dir/src/rigidconf/analyze.f90.o: In function prune_zmat_dihedrals_': /home/wz28l/crest-3.0dev/src/rigidconf/analyze.f90:174: undefined reference to
dihed2_'
CMakeFiles/crest-exe.dir/src/rigidconf/reconstruct.f90.o: In function reconstruct_zmat_to_mol_': /home/wz28l/crest-3.0dev/src/rigidconf/reconstruct.f90:87: undefined reference to
gmetry2_'`
Ah, I think I know where the error comes from then.
There was a source file missing form CMakeLists.txt
. Sorry.
It works now. Thanks for your help.
Best, Wentong
This issue had no activity for 6 months. It will be closed in 1 week unless there is some new activity.
Hi there,
I tried to use cmake and icc ifort to compile the crest 3.0dev following the guidance in the documentation. All configure parts worked well, but the final build step reported errors as below:
CMakeFiles/crest-exe.dir/src/algos/playground.f90.o: In function
crest_playground_': /home/wz28l/crest-3.0dev/src/algos/playground.f90:124: undefined reference to
betterxyzint' /home/wz28l/crest-3.0dev/src/algos/playground.f90:130: undefined reference toprint_zmat_' /home/wz28l/crest-3.0dev/src/algos/playground.f90:132: undefined reference to
gmetry2' /home/wz28l/crest-3.0dev/src/algos/playground.f90:136: undefined reference to `xyzgeo2' /home/wz28l/crest-3.0dev/src/algos/playground.f90:137: undefined reference toprint_zmat_' CMakeFiles/crest-exe.dir/src/rigidconf/tree.f90.o: In function
rigidconftree': /home/wz28l/crest-3.0dev/src/rigidconf/tree.f90:126: undefined reference tobetter_xyzint_' /home/wz28l/crest-3.0dev/src/rigidconf/tree.f90:128: undefined reference to
printzmat' CMakeFiles/crest-exe.dir/src/rigidconf/reconstruct.f90.o: In functionreconstruct_zmat_to_mol_': /home/wz28l/crest-3.0dev/src/rigidconf/reconstruct.f90:87: undefined reference to
gmetry2_'Could you provide some hints about how to solve these problems? Thanks.
Best, Wentong Zhou