Giter Club home page Giter Club logo

qmckl's People

Contributors

pablooliveira avatar scemama avatar v1j4y avatar

qmckl's Issues

How to add the GPU part.

For now we will cheat a bit.
The idea is to have something like

qmckl_exit_bubu qmckl_compute_function_bubu( args,) {

#IFDEF HAVE_HPC
return qmckl_compute_function_bubu_hpc(.....);
#else
return qmckl_compute_function_bubu_doc(....);
#endif 
}

but then you need to create 2 functions: _doc and the _hpc functions. You need to create the prototype with the #+CALL command in the org file. It takes some arguments, specifically table=<use_the_same_table, and the fname=<use the correct name _doc or _hpc

The other root can be make some private functions, for which you do not generate the header using org mode, but you write it by hand.

Functions to convert

Functions to convert:

  • qmckl_compute_factor_ee_f
  • qmckl_compute_factor_en_f
  • qmckl_compute_een_rescaled_n_f
  • qmckl_compute_dim_cord_vect_f
  • qmckl_compute_lkpm_combined_index_f
  • qmckl_compute_tmp_c_f
  • qmckl_compute_dtmp_c_f
  • #4
  • qmckl_compute_een_rescaled_e_f
  • qmckl_compute_factor_een_f
  • qmckl_compute_factor_een_deriv_e_f
  • qmckl_compute_factor_een_naive_f
  • qmckl_compute_factor_een_deriv_e_naive_f

Process:

  • create a src block code
  • remove the interface for fortran
  • change the code
  • make check

BOH

To be reviewed

  • qmckl_compute_factor_ee_deriv_e_f
  • qmckl_compute_factor_en_deriv_e_f
  • qmckl_compute_factor_een_rescaled_e_deriv_e_f
  • qmckl_compute_factor_een_rescaled_n_deriv_e_f

qmckl_compute_factor_ee_f conversion

The 3d array ee_distance_rescaled(walk_num, elec_num, elec_num) in Fortran is transformed into a 1d array in C.

The error should be around line 1647 of org/qmckl_jastrow.org.

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.