[DFTB-Plus-User] GPU-accelerated MPI/OpenMP jobs using GFN2-xtb
Jerry Tanoury
jerry_tanoury at vrtx.com
Thu May 4 14:47:07 CEST 2023
Hi Ben,
Thank you for the information and the help. I'm still getting the error, however:
ERROR!
-> Unknown electronic solver
Path: dftbplusinput/Hamiltonian/xTB/Solver/MAGMA
Line: 13-13 (File: dftb_in.hsd)
I'm not sure if it's my build or my input file. I've attached my input file.
My build proceeds as follows:
1. source dftb_build_setup (file attached, along with config.cmake).
2. add plumed to PKG_CONFIG_PATH:
export PKG_CONFIG_PATH=/cluster/home/tanoury/DFTB+/22.1_dependencies/built/plumed-2.8.1/lib/pkgconfig:/cluster/home/tanoury/DFTB+/22.1_dependencies/built/magma-2.7.0/lib/pkgconfig:$PKG_CONFIG_PATH
3. FC=ifort CC=icc CXX=icpc CMAKE_PREFIX_PATH=/cluster/home/tanoury/DFTB+/22.1_dependencies/built/elsi_interface cmake -DCMAKE_INSTALL_PREFIX=/cluster/home/tanoury/DFTB+/dftbplus-22.2 -DWITH_GPU=1 -B _build .
Then, 'cmake --build _build -- -j 8'
Then, 'cmake --install _build'
Best regards,
Jerry
Gerald J. Tanoury, Ph.D.
Principal Scientific Fellow
Vertex Pharmaceuticals
50 Northern Avenue
Boston, MA 02210
Office: 617-341-6219
Cell: 508-740-4986
jerry_tanoury at vrtx.com
www.vrtx.com
________________________________
From: DFTB-Plus-User <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> on behalf of Benjamin Hourahine <benjamin.hourahine at strath.ac.uk>
Sent: Thursday, May 4, 2023 6:48 AM
To: User list for DFTB+ related questions <dftb-plus-user at mailman.zfn.uni-bremen.de>
Subject: Re: [DFTB-Plus-User] GPU-accelerated MPI/OpenMP jobs using GFN2-xtb
CAUTION: This email originated from outside of Vertex. Do not open links or attachments unless you know the sender and believe it is safe. If you suspect that this email is a potentially malicious email, please click on the Report Phish button.
Hello Jerry,
We've updated the install information in the source tree (this will be in the next release, but for the moment see https://github.com/dftbplus/dftbplus/blob/main/INSTALL.rst<https://urldefense.com/v3/__https://github.com/dftbplus/dftbplus/blob/main/INSTALL.rst__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y819PjYyoo$> for the extra flags).
Regards
Ben
Dr. B. Hourahine
Senior Lecturer and Director of Student Support
Department of Physics, SUPA
University of Strathclyde, John Anderson Building,
107 Rottenrow, Glasgow G4 0NG, UK.
+44 141 548 2325, benjamin.hourahine at strath.ac.uk
[University of Strathclyde]
THE QUEEN’S ANNIVERSARY PRIZES
2019 & 2021
For Higher and Further Education
UNIVERSITY OF THE YEAR
2012 & 2019
Times Higher Education
SCOTTISH UNIVERSITY OF THE YEAR
2020
The Times & The Sunday Times
The University of Strathclyde is a charitable body, registered in Scotland, number SC015263.
Please consider the environment before printing this e-mail.
________________________________
From: DFTB-Plus-User <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> on behalf of Jerry Tanoury <jerry_tanoury at vrtx.com>
Sent: 04 May 2023 11:38
To: User list for DFTB+ related questions <dftb-plus-user at mailman.zfn.uni-bremen.de>
Subject: Re: [DFTB-Plus-User] GPU-accelerated MPI/OpenMP jobs using GFN2-xtb
CAUTION: This email originated outside the University. Check before clicking links or attachments.
Hi Balint,
Thank you. I was not aware of needing the flag. Was there something I missed in INSTALL?
Best regards,
Jerry
Gerald J. Tanoury, Ph.D.
Principal Scientific Fellow
Vertex Pharmaceuticals
50 Northern Avenue
Boston, MA 02210
Office: 617-341-6219
Cell: 508-740-4986
jerry_tanoury at vrtx.com
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vrtx.com%2F&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oV7z7cPikP5wjEcCqsRVdiFGLG29kUV3MSfFJmZOJSE%3D&reserved=0<http://www.vrtx.com/>
-----Original Message-----
From: DFTB-Plus-User <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> On Behalf Of Bálint Aradi
Sent: Thursday, May 4, 2023 3:43 AM
To: User list for DFTB+ related questions <dftb-plus-user at mailman.zfn.uni-bremen.de>
Subject: Re: [DFTB-Plus-User] GPU-accelerated MPI/OpenMP jobs using GFN2-xtb
CAUTION: This email originated from outside of Vertex. Do not open links or attachments unless you know the sender and believe it is safe. If you suspect that this email is a potentially malicious email, please click on the Report Phish button.
Dear Jerry,
the same solvers should be supported as with the DFTB Hamiltonian. You need a binary built with the -DWITH_GPU=1 flag in order to use the Magma solver. The release binaries distributed via Conda or GitHub are all built without GPU support.
Best regards,
Bálint
On 03.05.23 18:44, Jerry Tanoury wrote:
> Thank you Balint. For GFN2, what solvers are supported. I tried 'Solver = MAGMA{}', but I got an error saying 'Unknown electronic solver'. I was hoping to use GFN2 with GPU acceleration.
>
> Best regards,
> Jerry
>
> Gerald J. Tanoury, Ph.D.
> Principal Scientific Fellow
> Vertex Pharmaceuticals
> 50 Northern Avenue
> Boston, MA 02210
> Office: 617-341-6219
> Cell: 508-740-4986
> jerry_tanoury at vrtx.com
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vrtx.com%2F&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oV7z7cPikP5wjEcCqsRVdiFGLG29kUV3MSfFJmZOJSE%3D&reserved=0<http://www.vrtx.com/>
>
> -----Original Message-----
> From: DFTB-Plus-User
> <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> On Behalf Of Bálint
> Aradi
> Sent: Wednesday, May 3, 2023 10:46 AM
> To: dftb-plus-user at mailman.zfn.uni-bremen.de
> Subject: Re: [DFTB-Plus-User] GPU-accelerated MPI/OpenMP jobs using
> GFN2-xtb
>
> CAUTION: This email originated from outside of Vertex. Do not open links or attachments unless you know the sender and believe it is safe. If you suspect that this email is a potentially malicious email, please click on the Report Phish button.
>
>
>
> Dear Jerry,
>
> the number of processes you use must be divisible by the number of processor groups. So, if you want to use 4 groups, you need 4n parallel processes.
>
> Best regards,
>
> Bálint
>
>
> Ps. Please also note, that periodic structures were not taken into account, when GFN2 was parameterized. Make sure to check compare your results with reference ab initio calculation before making production runs for big systems.
>
>
> On 24.04.23 23:08, Jerry Tanoury wrote:
>> Hi,
>>
>> I'm trying to run a dftb+ v22.1 job using GFN2-xtb Hamiltonian, with
>> GPU acceleration and MPI/OpenMP parallelization. I am using a poscar
>> structure file. However, I am getting the following error message:
>>
>> ERROR!
>>
>> -> Number of groups (4) not compatible with number of processes (1)
>>
>> I have attached my input file, my output file, the cluster submit
>> script, and a sourcing file that sets paths.
>>
>> What am I doing wrong?
>>
>> Thank you so much for your help,
>>
>> Jerry
>>
>> Gerald J. Tanoury, Ph.D.
>>
>> Principal Scientific Fellow
>>
>> *Vertex Pharmaceuticals*
>>
>> 50 Northern Avenue
>>
>> Boston, MA 02210
>>
>> Office: 617-341-6219
>>
>> Cell: 508-740-4986
>>
>> jerry_tanoury at vrtx.com
>>
>> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vrtx.com%2F&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oV7z7cPikP5wjEcCqsRVdiFGLG29kUV3MSfFJmZOJSE%3D&reserved=0<http://www.vrtx.com/>
>>
>>
>>
>> This email message and any attachments are confidential and intended
>> for use by the addressee(s) only. If you are not the intended
>> recipient, please notify me immediately by replying to this message,
>> and destroy all copies of this message and any attachments. Thank you.
>>
>> _______________________________________________
>> DFTB-Plus-User mailing list
>> DFTB-Plus-User at mailman.zfn.uni-bremen.de
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.zfn.uni-bremen.de%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdftb-plus-&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=i84RpsZkX4Pt4rq0Y%2FPZyLoGqUA63ZmaTZ52%2BzsUmlE%3D&reserved=0<https://urldefense.com/v3/__https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y81hf7hyQg$>
>> u
>> ser
>
> --
> Dr. Bálint Aradi
> Bremen Center for Computational Materials Science, University of
> Bremen https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bccms.uni-bremen.de%2Fcms%2Fpeople%2Fb-aradi%2F&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SfjqdGRhMqfEb1rksQRxMSSri7bOU58wZb5YisRYh5s%3D&reserved=0<https://urldefense.com/v3/__http://www.bccms.uni-bremen.de/cms/people/b-aradi/__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y81rMgLNl8$>
>
>
>
>
> This email message and any attachments are confidential and intended for use by the addressee(s) only. If you are not the intended recipient, please notify me immediately by replying to this message, and destroy all copies of this message and any attachments. Thank you.
> _______________________________________________
> DFTB-Plus-User mailing list
> DFTB-Plus-User at mailman.zfn.uni-bremen.de
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.zfn.uni-bremen.de%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdftb-plus-u&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yLkbxqWwlanNnENJXQbmvou92XXk%2F24SudZDwDmHIRU%3D&reserved=0<https://urldefense.com/v3/__https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-u__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y81eEWUMes$>
> ser
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bccms.uni-bremen.de%2Fcms%2Fpeople%2Fb-aradi%2F&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SfjqdGRhMqfEb1rksQRxMSSri7bOU58wZb5YisRYh5s%3D&reserved=0<https://urldefense.com/v3/__http://www.bccms.uni-bremen.de/cms/people/b-aradi/__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y81rMgLNl8$>
This email message and any attachments are confidential and intended for use by the addressee(s) only. If you are not the intended recipient, please notify me immediately by replying to this message, and destroy all copies of this message and any attachments. Thank you.
_______________________________________________
DFTB-Plus-User mailing list
DFTB-Plus-User at mailman.zfn.uni-bremen.de
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.zfn.uni-bremen.de%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdftb-plus-user&data=05%7C01%7Cbenjamin.hourahine%40strath.ac.uk%7Cac5073cff14446d777b908db4c8bb4d2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C638187935141190918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FckpKSttujxC0ICnLD5I8jfbo9o%2BD8FOkze%2FNh1o5y8%3D&reserved=0<https://urldefense.com/v3/__https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user__;!!FRfS_D4!aFGz9DLWwOKgVQmuuzMMaQJTICksj_TyqHCN9O7VQwc45xRT38TiKAg8qDOhA_QKYKkDEZEg1Lf-NFZeG6MURn4d_Y81a7LTf8o$>
This email message and any attachments are confidential and intended for use by the addressee(s) only. If you are not the intended recipient, please notify me immediately by replying to this message, and destroy all copies of this message and any attachments. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230504/611e5c91/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dftb_in.hsd
Type: application/octet-stream
Size: 503 bytes
Desc: dftb_in.hsd
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230504/611e5c91/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dftb_build_setup
Type: application/octet-stream
Size: 918 bytes
Desc: dftb_build_setup
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230504/611e5c91/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cmake
Type: text/x-cmake
Size: 8186 bytes
Desc: config.cmake
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20230504/611e5c91/attachment.bin>
More information about the DFTB-Plus-User
mailing list