Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the installation #33

Open
kkhakurel opened this issue Dec 3, 2021 · 2 comments
Open

Regarding the installation #33

kkhakurel opened this issue Dec 3, 2021 · 2 comments

Comments

@kkhakurel
Copy link

Dear colleagues,

I have tried to install the package as it have been mentioned in the document. But, there is nothing like "dynamic.x" file in the directory ELECTRIC/modules/Tinker/build/tinker/source/. Instead there are dynamic.o and dynamic.f files. The compilation was done using cmake -3.7 and gfortran. could you kindly suggest what could have gone wrong?

Many thanks in advance,
Krishna

@taylor-a-barnes
Copy link
Collaborator

Hi Krishna,

It's hard to say for certain without more information, but it sounds like the Tinker compilation might have failed during the link step.

You don't actually need to compile Tinker through the ELECTRIC build scripts, and it might be easier for you to build Tinker independently. You'll just need to acquire our MDI-enabled fork of Tinker, and then build it by following the normal Tinker build instructions. To get the MDI-enabled Tinker fork, do:

git clone --branch mdi git@github.com:taylor-a-barnes/Tinker.git

Once you've got Tinker to compile correctly, you will need to modify the ELECTRIC/test/locations/Tinker_ELECTRIC file in ELECTRIC to contain the absolute path to your newly compiled dynamic.x file (ELECTRIC/test/locations/Tinker_ELECTRIC should not have any whitespace, such as a terminal newline). You should be able to run ELECTRIC after that.

Feel free to let me know if you have any further problems.

Best,
Taylor

@kkhakurel
Copy link
Author

kkhakurel commented Dec 4, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants