GithubHelp home page GithubHelp logo

georgestagg / 3d-gp-mpiomp Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 262 KB

3D-GP-MPIOMP is a FORTRAN project designed to numerically solve the Gross-Pitaevskii equation (GPE) in three dimensions (3D) using MPI and OpenMP.

License: MIT License

Makefile 0.91% Fortran 77.81% Shell 2.83% MATLAB 18.46%

3d-gp-mpiomp's Introduction

3D-GP-MPIOMP

3D-GP-MPIOMP is a FORTRAN project designed to numerically solve the Gross-Pitaevskii equation (GPE) in three dimensions (3D) using MPI and OpenMP.

Solving the GPE allows for qualitatively accurate simulations of Bose-Einstein Condensates (BECs) at zero temperature.
3D-GP solves the GPE using 4th order Runge-Kutta time stepping on a grid of points with regular spacing. User defined grid spacing and time step is supported.

Requirements

3D-GP requires NetCDF and NetCDF-Fortran installations to run. NetCDF is used to save compressed data files. On Ubuntu you can install the required packages by running:

sudo apt-get install libnetcdf11 libnetcdff6 libnetcdf-dev libnetcdff-dev

You can also create a local installation of NetCDF by downloading the source files from the NetCDF website and compiling them yourself. If you do this, be sure to build with parallel NetCDF support and make a note of the installation location as you will need it to install 3D-GP.

Installation

  • Clone the git repository somewhere.

  • Run ./install to setup. You can also run ./install <install-dir> to install to any desired installation location.

  • New terminals should now be able to run make3dgp anywhere.

Running a Simulation

  • Create a new simulation directory
  • Enter the directory and run make3dgp to set up a simulation at your current location.
  • Edit run.sh to set the number of parallel processes.
  • Type ./run.sh to start the simulation.
  • The simulation status is printed to screen.

Editing Parameters

To run a simulation with custom parameters

  • Create a simulation as in Running a Simulation but do not run ./run.sh.
  • Edit params.in to include any parameters you wish to change from their defaults and run make3dgp again to reflect the changes.
  • Run ./run.sh to start the simulation.

3d-gp-mpiomp's People

Contributors

georgestagg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.