Skip to content

Commit eb4e965

Browse files
committed
Update copyright headers: Use GPUMD copyright with contribution notes
1 parent 33bbf1c commit eb4e965

2 files changed

Lines changed: 44 additions & 28 deletions

File tree

src/main_mdi/mdi_fallback.h

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
11
/*
2-
MDI - MolSSI Driver Interface
3-
https://molssi.org/, Molecular Sciences Software Institute
4-
5-
This file is a simplified stub header providing MDI API declarations
6-
for compilation when the full MDI library is not available.
7-
8-
This stub is derived from the original MDI library header:
9-
https://github.com/MolSSI-MDI/MDI_Library
10-
11-
Original MDI Library Copyright:
12-
Copyright 2020 Taylor Barnes and contributors
13-
BSD-3-Clause license
14-
15-
This stub version contributed by: Jaafar Mehrez (2026)
16-
Email: jaafarmehrez@sjtu.edu.cn, jaafar@hpqc.org
2+
Copyright 2017 Zheyong Fan and GPUMD development team
3+
This file is part of GPUMD.
4+
GPUMD is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
GPUMD is distributed in the hope that it will be useful,
9+
but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
GNU General Public License for more details.
12+
You should have received a copy of the GNU General Public License
13+
along with GPUMD. If not, see <http://www.gnu.org/licenses/>.
14+
15+
-----------------------------------------------------------------------------
16+
This file is a simplified stub header providing MDI API declarations
17+
for compilation when the full MDI library is not available.
18+
19+
Derived from the original MDI library header:
20+
https://github.com/MolSSI-MDI/MDI_Library
21+
22+
Original MDI Library Copyright (BSD-3-Clause):
23+
Copyright 2020 Taylor Barnes and contributors
24+
25+
Stub version contributed by: Jaafar Mehrez (Shanghai Jiao Tong University)
26+
Email: jaafarmehrez@sjtu.edu.cn, jaafar@hpqc.org
27+
-----------------------------------------------------------------------------
1728
*/
1829

1930
#ifndef MDI_LIBRARY

src/main_mdi/mdi_stub.cu

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
/*
2-
MDI integration for GPUMD
3-
Copyright 2026 Jaafar Mehrez
4-
Email: jaafarmehrez@sjtu.edu.cn, jaafar@hpqc.org
5-
6-
Build with: make USE_MDI=1 (this sets -DUSE_MDI and links -lmdi)
7-
8-
This file implements a functional MDI engine entry point for GPUMD.
9-
It allows GPUMD to act as an MD engine receiving commands from
10-
a driver (e.g., VASP via MDI). Supported commands:
11-
<NATOMS, >COORDS, <COORDS, <FORCES, >FORCES, <ENERGY, >ENERGY, >STRESS, EXIT
12-
13-
Based on MDI developer guide:
14-
https://molssi-mdi.github.io/MDI_Library/developer_guide/engine_tutorial.html
2+
Copyright 2017 Zheyong Fan and GPUMD development team
3+
This file is part of GPUMD.
4+
GPUMD is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
8+
GPUMD is distributed in the hope that it will be useful,
9+
but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
GNU General Public License for more details.
12+
You should have received a copy of the GNU General Public License
13+
along with GPUMD. If not, see <http://www.gnu.org/licenses/>.
1514
*/
1615

16+
/*------------------------------------------------------------------------------
17+
MDI integration for GPUMD.
18+
Contributed by: Jaafar Mehrez (Shanghai Jiao Tong University)
19+
Email: jaafarmehrez@sjtu.edu.cn, jaafar@hpqc.org
20+
------------------------------------------------------------------------------*/
21+
1722
#include "run.cuh"
1823
#include <algorithm>
1924
#include <stdio.h>

0 commit comments

Comments
 (0)