Re: Building NAMD3

From: Vermaas, Josh (vermaasj_at_msu.edu)
Date: Thu Jan 06 2022 - 14:33:15 CST

Hi Ana,

I’m going to forward this to NAMD-L so others can benefit as well (and so David can correct anything I get overly wrong). Are you sure that is NAMD3? If you download the source code from the nightly build, I think you might be on the 2.15 codepath, rather than the 3.0 one. In git, the 3.0 code path is the “devel” branch, while the 2.15 code path is the “master” branch. If you download a tgz directly from the NAMD website (NAMD_Git-2022-01-06_Source.tar.gz), I think you are pulling the master branch rather than the devel branch. The way you could check this is to put “CUDASOAIntegrate on” in your NAMD configuration file, which will fail if you are still on the 2.15 codepath that doesn’t have this feature.

-Josh

From: "Sokovic, Ana Marija" <anamaria_at_uic.edu>
Date: Thursday, January 6, 2022 at 3:07 PM
To: "Vermaas, Josh" <vermaasj_at_msu.edu>
Subject: Re: Building NAMD3

Hi Josh,

Thank you so much for getting back to me. I managed to build NAMD3. My recipe is in attach, I dod use a lot from your GitHub page :)

Can you please tell me what would be the best way to run it in order to get max performance?
My GPU node (with 4 GPU devices) specification is in attach.

Should I be running my codes with something like this:
namd3 +ppn 1 +setcpuaffinity +devices 0 +idlepoll sim2-smd-woharm_160ns_2A.step5.inp > out_sim2_smd_woharm_2A.sim2.step5.out

If not what what parameters should I use?

It is recommended by NAMD developers to use low CPU core counts for NAMD3.

“The single-node version of NAMD 3.0 has almost everything offloaded to the GPU, so large CPU core counts are NOT necessary to get good performance. We recommend running NAMD with a low +p count, maybe 2-4 depending on system size, especially if the user plans on running multiple replica simulations within a node.”

Can you please tell me what is your experience, which parameters could give me the best performance?

Cheers,
Ana

On Jan 6, 2022, at 11:49 AM, Vermaas, Josh <vermaasj_at_msu.edu<mailto:vermaasj_at_msu.edu>> wrote:

Hi Ana,

The first thing you need is access to the gitlab repository. If you go here: https://urldefense.com/v3/__https://gitlab.com/tcbgUIUC/namd__;!!DZ3fjg!t-gZ2clb4mmoGkAtsq_ovAxa7NkKMxhSLT6GGgFTdWUYyLUV3fcFVvocsTtXUnQf6g$ <https://urldefense.com/v3/__https:/nam04.safelinks.protection.outlook.com/?url=https*3A*2F*2Fgitlab.com*2FtcbgUIUC*2Fnamd&data=04*7C01*7Canamaria*40uic.edu*7Cd91d668fa9114def0fc608d9d13cf1a7*7Ce202cd477a564baa99e3e3b71a7c77dd*7C0*7C0*7C637770881952848469*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000&sdata=KeYXRKdmshcThG15YpZ8nOTPIaz5sby8GyLIMsojU2I*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUl!!HXCxUKc!lBtq0z3V5lzWnRj2y4K6-4tejf4QOLulPl-czMOiffXogKYSboqefNisnQ3iilY$>, you should see a page, but if you read on, you’ll see that you need to fill out an access request form. Once you’ve done that and set your git settings appropriately, you should be able to download it.

-Josh

From: "Sokovic, Ana Marija" <anamaria_at_uic.edu<mailto:anamaria_at_uic.edu>>
Date: Thursday, January 6, 2022 at 12:06 PM
To: "Vermaas, Josh" <vermaasj_at_msu.edu<mailto:vermaasj_at_msu.edu>>
Subject: Building NAMD3

Hi Josh,

I found your instructions for building NAMD on Github. Can you please tell me from where I can download source codes for NAMD3?

I am trying to do:
git clone https://urldefense.com/v3/__https://gitlab.com/tcbgUIUC/namd.git__;!!DZ3fjg!t-gZ2clb4mmoGkAtsq_ovAxa7NkKMxhSLT6GGgFTdWUYyLUV3fcFVvocsTsVfu_GyQ$ <https://urldefense.com/v3/__https:/nam04.safelinks.protection.outlook.com/?url=https*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2Fgitlab.com*2FtcbgUIUC*2Fnamd.git__*3B!!HXCxUKc!nd84WW66uqLd1_WtdQXH8AccN84NLo7O5I-VEYKyQoad6gyotc1D6OGjSsGIIys*24&data=04*7C01*7Canamaria*40uic.edu*7Cd91d668fa9114def0fc608d9d13cf1a7*7Ce202cd477a564baa99e3e3b71a7c77dd*7C0*7C0*7C637770881952848469*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000&sdata=kQhEdstjMXL8hn1VMphT*2FqZBXB4aRUNzpSiIb*2B8jV5g*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!HXCxUKc!lBtq0z3V5lzWnRj2y4K6-4tejf4QOLulPl-czMOiffXogKYSboqefNis7ISP7bs$>
Initialized empty Git repository in /software/linux-el7-nvidia/apps/namd/.git/
error: The requested URL returned error: 401 Unauthorized while accessinghttps://gitlab.com/tcbgUIUC/namd.git/info/refsNLo7O5I-VEYKyQoad6gyotc1D6OGjpd-XKIY*24&data=04*7C01*7Canamaria*40uic.edu*7Cd91d668fa9114def0fc608d9d13cf1a7*7Ce202cd477a564baa99e3e3b71a7c77dd*7C0*7C0*7C637770881952848469*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000&sdata=FF9ZGCBLOb*2F6xaIoiow54xNlNjWON1A*2Fbw12YSZB2fI*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!HXCxUKc!lBtq0z3V5lzWnRj2y4K6-4tejf4QOLulPl-czMOiffXogKYSboqefNisgh7gFPM$>

fatal: HTTP request failed

Please advise,
Ana

This archive was generated by hypermail 2.1.6 : Tue Dec 13 2022 - 14:32:44 CST