... | ... | @@ -24,7 +24,7 @@ import Ansa2mpio |
|
|
#### As python script
|
|
|
This option is much more tedious because every time you start a session in Ansa you have to reload it. That is why I discourage it. In any case, it is explained what to do if you want to use this route.
|
|
|
|
|
|
First edit **Ansa2mpio.py** and comment the following lines:
|
|
|
Edit **Ansa2mpio.py** and comment the following lines:
|
|
|
```
|
|
|
linked_folder = os.path.dirname(__file__)
|
|
|
path = os.readlink(str(linked_folder) + '/Ansa2mpio.py')
|
... | ... | @@ -32,7 +32,7 @@ ansa2mpio_folder = os.path.dirname(path) |
|
|
|
|
|
@session.defbutton('ALYA', 'Ansa2mpio', 'Output the MPIIO Alya format')
|
|
|
```
|
|
|
|
|
|
Then follow [Running-Python-scripts-in-Ansa](Ansa-tools-documentation/Running-Python-scripts-in-Ansa) guidelines.
|
|
|
## From the terminal
|
|
|
|
|
|
The tool for this purpose is **nogui_Ansa2mpio.py** and is located in the **Ansa/Ansa2mpio** folder. An explanation to how to run python tools can be found in [Running-Python-scripts-in-Ansa](Ansa-tools-documentation/Running-Python-scripts-in-Ansa).
|
... | ... | |