Commit Graph

4469 Commits

Author SHA1 Message Date
James McClure
b2994deeb8 Merge branch 'master' of github.com:OPM/LBPM 2023-01-21 08:43:42 -05:00
James E. McClure
fac681dffe
Rc 08.15.2022 (#70)
* summit configure

* add spock scripts to FOM

* get new models to build with hip

* add hip slipping bc

* testing communication on spock

* update spock build based on olcf docs

* update configure & test scripts for spock

* Fixing potential bugs with communication

* Adding simple test of GPU aware MPI

* some changes to configure for spock

* Modifying GPU aware MPI test to send multiple messages

* playing with spock Gpu test

* added gpu wrapper test

* Cleaning up some compiler warnings

* add barrier between pack / MPI send

* Updating build to support HIP as a language

* fixing gpu mpi sync

* Adding script

* local spock changes

* add membrane class

* update membrane structure

* membrane communications

* working on new comm data structures

* add membrane unit test

* membrane compiles

* membrane test

* Updating hip port to match cuda

* update summit config

* update summit config

* add configure script for crusher

* update membrane test

* update membrane test

* convention for inside / outside membrane link direction

* working on membrane comm

* try to fix time conversion factor for Poisson solver; to be built and tested

* fix dumb typo

* update summit config

* tune launch for crusher

* tune launch for mrt on crusher

* update color

* summit script with specific module versions

* update crusher config

* add crusher examples

* add dense case for crusher

* Fixing some quick annoying compile warnings

* fix binding in example

* working on fix

* Adding simple crusher test

* Adding new crusher MPI test

* disable MPI thread multiple for crusher

* updates to crusher configure

* cpu test for crusher

* Working on standalone reproducer for MPI bug

* More work on creating standalone test

* More work on creating standalone test

* More work on creating standalone test

* Reverting TestCrusher2, standalone version passes (TestCrusher3.cpp), need to figure out why

* Working on standalone MPI test on crusher

* Working on standalone MPI test on crusher

* Getting closer to stand alone test

* Still trying to create standalone reproducer

* hang fix / workaround

* Created standalone MPI failure test

* Removing TestCrusher tests, the bug deals with the StackTrace which we disable the multistack trace for now.  Moving the test out of LBPM

* fix sendcount / recvcount

* Testing persistent communication

* Updating calculation of bandwidth

* crusher hackathon final version

* working on membrane communication structures

* add cell simulator

* added cell simulator

* make sure halo is filled when measuring object

* add membrane transport function for d3q7

* add membrane unpack function

* poking at MF issue

* update crusher build

* membrane data structures compiling

* update to membrane capability

* update comments in ion model

* fix dumb print bug

* clean up relabel

* adding membrane functions

* move membrane to common folder

* membrane structure in IonModel

* membrane structure in IonModel

* try at membrane simulator

* add python script to generate bubble

* add python script to generate bubble

* cell simulator runs

* read input files

* add single cell example

* refining cell example

* start on cuda function

* werkin

* start on cuda function

* start on hip function

* updates and fix for user input reader

* update cell example

* add sigmoid to ion equilibrium dist

* cuda build succeeds

* update crusher script

* getting ready to merge gpu

* refactor compact AA routines for testing

* add testing functions to ScaLBL

* testing membrane ion transport

* membrane transport test passing

* membrane starts working ok...

* original wang poisson solver (broken)

* rex d3q19 (broken)

* tau from wang paper

* still broken wang

* d319 poisson works good

* Poisson working pretty good now

* initialize nernst-planck simulator; to be built subject to debugging

* fix a few syntax bugs and build passed

* Poisson solver; enable specifying initial values

* update cell example

* add GPU functions for d3q19 poisson

* fix dumb bugs

* fix bugs in initializing electric potential; the Psi on solid was accidentally overwritten before.

* small change

* fix bugs in importing ion model's dummy velocity

* add membrane concentration init

* remove bad warnings

* remove print staetements

* add barriers to poisson solver

* update print

* print membrane input concentration

* read Membrane ion concentration list

* fix bad ref to D3Q7

* update error analysis for Poisson solver

* fix typo

* update hip poisson solver

* deprecate old error methods

* a bunch of summit debug things to roll back later

* fix poisson typo

* update hip

* debug crusher

* debug charge density problems on crusher

* fix charge density (i think)

* remove Stokes solver from cell simulator; need to test build

* update cpu ion valence

* added membrane properties to input db

* update cell db

* update executable list and NP_cell simulator

* correct use_membrane functionality

* add functionality for user to choose either D3Q7 or D3Q19 lattice for Poisson;to be built and tested

* build passed

* make further corrections

* correct D3Q7 Poisson LB algorithm

* correct ion LB collison

* udpate output precision

* add more tweaks for cell simulator

* update print-out

* this makes mpi hang error explicit;to be debugged

* cleanup with help from valgrind

* update to cell vis routine

* add hip for ion update

* fix missing bracket

* add new ion code for cuda

* add barrier to membrane transport

* debug gpu launch issue for ion

* debug gpu

* add functions to copy send / recv list from ScaLBL

* updating membrane communication structure

* membrane test works with new comm

* communication seems to work

* add sample files for plane membrane

* update gpu routines first try

* update hip

* multiple nvidia gpu working with membrane

* added membrane analysis capability

* added support for swc file

* support for SWC input format

* swc reader works with MPI

* shift swc data

* SWC reader update

* SWC reader update 2

* add offset to Domain for swc

* add input files for simple bacteria

* add performance counters to ion / poisson solvers

* fix bug with SWC

* add BC to poisson solver

* fix compiler warnings

* fix memory leaks

* fix zlib download path

* Fixing memory leak

* Fixing memory leaks

* restart for Poisson model

* fix bug in ion model restart

* trying to fix yaml

* fix workflow indentation

* porosity factor in effperm

* porosity factor in effperm

* porosity factor in effperm

* porosity factor in effperm

Co-authored-by: James E McClure <mcclurej@vt.edu>
Co-authored-by: Mark Berrill <berrillma@ornl.gov>
Co-authored-by: Zhe Rex Li <zhe.rex.li@gmail.com>
Co-authored-by: Zhe Li <zzl109@gadi-login-01.gadi.nci.org.au>
Co-authored-by: Zhe Li <zzl109@gadi-login-04.gadi.nci.org.au>
Co-authored-by: Zhe Li <zzl109@gadi-login-02.gadi.nci.org.au>
Co-authored-by: Zhe Li <zzl109@gadi-login-06.gadi.nci.org.au>
Co-authored-by: Zhe Li <zzl109@gadi-login-05.gadi.nci.org.au>
2022-09-07 21:44:16 +02:00
James McClure
d69bff263c fix minor merge conflict 2022-08-15 05:17:47 -04:00
James McClure
4a016eee6c porosity factor in effperm 2022-08-12 18:34:50 -04:00
James McClure
d50c98c71a porosity factor in effperm 2022-08-12 18:33:49 -04:00
James McClure
6ad23248fd porosity factor in effperm 2022-08-12 18:31:53 -04:00
James McClure
189408f769 porosity factor in effperm 2022-08-12 18:29:45 -04:00
James McClure
f233ec616b fix workflow indentation 2022-08-07 09:11:41 -04:00
James McClure
2a8c88496c trying to fix yaml 2022-08-05 21:20:19 -04:00
James McClure
58ae63fe87 fix bug in ion model restart 2022-08-02 15:36:35 -04:00
James McClure
777e216b35 restart for Poisson model 2022-07-29 18:11:32 -04:00
Mark Berrill
3cc12ac36e Fixing memory leaks 2022-07-13 11:20:53 -04:00
Mark Berrill
ed8f5684fd Fixing memory leak 2022-07-13 10:53:19 -04:00
James McClure
c148f907eb fix zlib download path 2022-07-13 07:55:37 -04:00
James McClure
5204f48d45 fix memory leaks 2022-07-12 18:44:36 -04:00
James McClure
b7910dbefe fix compiler warnings 2022-07-06 21:33:59 -04:00
James McClure
5a37f7865f add BC to poisson solver 2022-07-06 19:35:08 -04:00
James McClure
a9ed4a3b97 fix bug with SWC 2022-07-04 19:46:14 -04:00
James McClure
1c903a3380 add performance counters to ion / poisson solvers 2022-06-11 20:49:01 -04:00
James McClure
be8f508b64 add input files for simple bacteria 2022-05-26 16:43:34 -04:00
James McClure
dc78491a9c add offset to Domain for swc 2022-05-25 17:59:08 -04:00
James McClure
df27167212 SWC reader update 2 2022-05-25 16:28:58 -04:00
James McClure
57fc4cc8e1 SWC reader update 2022-05-25 16:21:34 -04:00
James McClure
e818ade293 shift swc data 2022-05-16 21:43:53 -04:00
James McClure
175e7bd00b swc reader works with MPI 2022-05-16 11:22:38 -04:00
James McClure
c4a97c0589 support for SWC input format 2022-05-16 11:17:47 -04:00
James McClure
0e65364954 added support for swc file 2022-05-15 23:00:23 -04:00
James McClure
2acaa335aa added membrane analysis capability 2022-05-13 20:44:33 -04:00
James E McClure
b6227dd823 multiple nvidia gpu working with membrane 2022-05-12 20:50:05 -04:00
James McClure
cf3bc417ce Merge branch 'test_poisson' of github.com:JamesEMcClure/LBPM-WIA into test_poisson 2022-05-12 07:09:39 -04:00
James McClure
ffe4bdd917 update hip 2022-05-12 06:58:10 -04:00
James McClure
0e769186a5 update gpu routines first try 2022-05-12 06:54:55 -04:00
Zhe Rex Li
cb995c7d00 add sample files for plane membrane 2022-05-12 15:39:50 +10:00
James McClure
ad8c5f6e26 communication seems to work 2022-05-12 00:52:34 -04:00
James McClure
29e4c76561 membrane test works with new comm 2022-05-12 00:31:22 -04:00
James McClure
7c790e8802 updating membrane communication structure 2022-05-11 23:37:18 -04:00
James McClure
2894b740d0 add functions to copy send / recv list from ScaLBL 2022-05-11 17:12:23 -04:00
James McClure
4661cbdce4 debug gpu 2022-05-11 14:05:16 -04:00
James McClure
50c7429995 debug gpu launch issue for ion 2022-05-11 10:32:53 -04:00
James McClure
e677b0395f add barrier to membrane transport 2022-05-09 06:32:58 -04:00
James McClure
9e74f49812 add new ion code for cuda 2022-05-08 05:49:23 -04:00
James McClure
cf2b69e7ee fix missing bracket 2022-05-07 19:36:14 -04:00
James McClure
6f7740fc3e Merge branch 'tmp' into test_poisson 2022-05-07 19:32:54 -04:00
James McClure
9037f51c22 add hip for ion update 2022-05-07 19:32:51 -04:00
James McClure
459d6064c1 merge to membrane 2022-05-06 20:41:03 -04:00
James McClure
9f76e7b1e8 update to cell vis routine 2022-05-06 19:03:19 -04:00
James McClure
c424e1d984 cleanup with help from valgrind 2022-05-06 16:21:37 -04:00
Zhe Li
ba6d438630 this makes mpi hang error explicit;to be debugged 2022-05-04 14:34:31 +10:00
Zhe Rex Li
01ffcce379 update print-out 2022-05-03 17:10:26 +10:00
Zhe Rex Li
de52cf53b9 add more tweaks for cell simulator 2022-05-03 16:32:42 +10:00