GithubHelp home page GithubHelp logo

bo-li / paragauss-gpl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexei-matveev/paragauss-gpl

0.0 2.0 0.0 9.07 MB

ParaGauss GPL, V3.2.1+

License: Other

Makefile 0.94% Fortran 95.45% Scheme 0.93% Shell 0.13% Perl 0.65% Python 0.04% C 0.37% C++ 0.03% HTML 0.02% Red 0.02% Visual Basic 0.18% XC 0.01% Groff 0.84% GLSL 0.38%

paragauss-gpl's Introduction

=== Running ParaGauss ===

For parallel calculation in batch mode use the Scheme script

    ./runqm

derived  from  ./guile/runqm.scm  by  inserting specific  search  path
during  build  process. This  script  does  its  best to  emulate  the
behaviour of the traditional "runpg" bash script. Use it as in

    mpirun -np 8 $PWD/runqm [INPUTS...]

Note  that neither "runqm"  script nor  "guile-qm" interpreter  are in
your  $PATH.  So that  you  will  need to  specify  the  path in  full
occasionally.  In  case of troubles,  check the "shebang"  line (first
line starting with  #!)  at the top of "runqm"  and the "%load-path" a
few lines below.

There is  a possibility  to run ParaGauss  from a  Scheme interpreter.
The default (WITH_GUILE=1) build  produces an executable "guile-qm" in
the top directory (where this README file resides) that can be used as
a standalone Scheme interpreter.  You may try to execute it in serial:

    $ ./guile-qm -L ./
    guile> (+ 1 2)
    3

and run PG from within it:

    guile> (use-modules (guile paragauss))
    guile> (define world (qm-init))
    guile> (copy-file "some-input" "input")
    guile> (qm-run world)
    guile> (qm-finalize world)

Or write your own interpreted scripts ...


=== Fallback operation mode ===

If you have troubles with Scheme, set WITH_GUILE=0 in the Makefile and
recompile. Start ParaGauss serially as in

    ./mainscf_VX.Y.Z

The program expects the input file named

    input

to reside in the current directory.

Beware there will  be a lot of temporary files  created in the current
directory together  with the output  files.  Specify location  for the
temporary files by setting environment variable

    export TTFSTMP=/tmp

or in the command line

    TTFSTMP=/tmp ./mainscf_VX.Y.Z

For MPI-enabled builds use mpirun/mpiexec as appropriate:

    TTFSTMP=/tmp mpirun -np 8 $PWD/mainscf_VX.Y.Z

You can specify output directory and the alternative name of the input
file as in

    TTFSTMP=/tmp TTFSOUPUTDIR=$PWD/o.test TTFSINPUT=i.test ./mainscf_VX.Y.Z

Note that  the directory, if specified, must  already exist.  Moreover
it  must  exist  on  all  nodes potentially  involved  in  a  parallel
computation.

The startup script located in

    ./bin/runpg

attempts  to guess  execution nodes  and create  directories  prior to
invoking  ParaGauss. However,  the startup  procedure varies  from one
setup to  another so that  the startup script  may or may not  work on
your platform.

paragauss-gpl's People

Contributors

alexei-matveev avatar bo-li avatar

Watchers

 avatar  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.