interpolaton
3D interpolation using NUMBA and MPI4PY
Getting started
Required data:
• rank -> Current Processor in execution. More info can be found here:
• start_x -> Starting point of the grid in X-direction
• end_x -> Ending point of the grid in X-direction
• start_y -> Starting point of the grid in Y-direction
• end_y -> Ending point of the grid in Y-direction
• start_z -> Starting point of the grid in Z-direction
• end_z -> Ending point of the grid in Z-direction
• nx_old -> Number of points in X-direction in old grid
• ny_old -> Number of points in Y-direction in old grid
• nz_old -> Number of points in Z-direction in old grid
• nx_new -> Number of points in X-direction in new grid
• ny_new -> Number of points in Y-direction in new grid
• nz_new -> Number of points in Z-direction in new grid
• nv -> Number of variables in the data
• old_data_path -> Path where the old data is present
• old_file_name -> File name where the old data is present (Ex: for filename: input.h5 type input)
• new_data_path -> Path where the new data is present
• new_file_name -> File name where the new data is present (Ex: for filename: input.h5 type input)
• key -> Key is required to store the output data in HDF5 format (For optimal data storing)
Run the code
• pip install internumpi
• cd interpolation
• mpirun -n #NUM-CORES python main.py --start_x #START_X --end_x #END_X --start_y #START_Y --end_y #END_Y --start_z #START_Z --end_z #END_Z --nx_old #NX_OLD --ny_old #NY_OLD --nz_old #NZ_OLD --nx_new #NX_NEW --ny_new #NY_NEW --nz_new #NZ_NEW --nv #NV --old_data_path #OLD_DATA_PATH --old_file_name #OLD_FILE_NAME --new_data_path #NEW_DATA_PATH --new_file_name #NEW_FILE_NAME --key #KEY
Release files for internumpi 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| internumpi-0.0.2.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| internumpi-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / internumpi-0.0.2.tar.gz
| Download URL | internumpi-0.0.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2e755bce8e299b22e62ae64bbc50e63d11af7dfe2ad7a2d2cfc580e660235c6
|
|
BLAKE2b-256 checksum How to use checksums |
945baa1629f87e102ee0c9f64f9cb91a91664d2da99beba1c44c45182d5e6677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Release files / internumpi-0.0.2-py3-none-any.whl
| Download URL | internumpi-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5f5b072f059b519a694eb1c778391b6fa1f2fc06a00826175fd9b87c6664eb0
|
|
BLAKE2b-256 checksum How to use checksums |
2e7fe0eb9c81e49182215e4161581317429fb88a20fafabbf00baf36a72f3831
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|