Skip to content

Conversation

@EricChen521
Copy link
Contributor

Hi Dan,

This is the code we used in the PME-GIST manuscript. Although we are still working on some additional functionalities in GIST, we'd better pull the request now so that the reviewer can see our code is already open source.

Please let me know if you have any suggestions regarding the code.

Eric

@AmberJenkins
Copy link
Collaborator

The PGI build in Jenkins failed.

@lgtm-com
Copy link

lgtm-com bot commented Nov 9, 2020

This pull request introduces 1 alert when merging d700fe1 into b43a7a8 - view on LGTM.com

new alerts:

  • 1 for Resource not released in destructor

@drroe
Copy link
Contributor

drroe commented Nov 10, 2020

Sorry for the delay in replying - I'm on leave so my time to work is very limited.

Although we are still working on some additional functionalities in GIST,

We can keep it as a work in progress until the issues are resolved. This way at least it's here in some form. I'll try to take a closer look at the code itself over the next few days.

#include "cuda_kernels/GistCudaSetup.cuh"
#endif

#include "DataSet_3D.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to see if some of these includes can be replaced with forward declares.


//mprintf("e_recip finished, the e_recip value: %f \n", e_recip);

std::chrono::duration<double> d2 = step2 - step1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpptraj has a Timer class for timing.


double e_self = Self_GIST( volume, e_elec_self ); // decomposed E_elec_self for GIST

auto step1 = std::chrono::system_clock::now();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because cpptraj is distributed with Amber, C++11 stuff still has to be optional. All C++11 stuff should be hidden behind the define C11_SUPPORT

@drroe
Copy link
Contributor

drroe commented Apr 6, 2021

Superseded by #889

@drroe drroe closed this Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants