Skip to content

Sharing some issues that Adiv helped me with if it is usefull for some #21

@benjisimone

Description

@benjisimone

Here is a mailing thread that I had with Adiv that helped me to run ExoPlaSim, if it is useful for someone. I understand that ExoPlaSim was updated to 3.3 version. I managed to make it work on Python3.11.6 finally.

Here is the thread:
Dear Adiv,

I hope this email finds you well. I am writing to you as a master's thesis student in astronomy at the University of Concepción, Chile, working on a study of the spectroscopic effect of atmospheric dynamics on aquaplanets. I have encountered a problem while using ExoPlaSim and would greatly appreciate your assistance in resolving it.

I have been experiencing compatibility issues and missing module errors during the execution of ExoPlaSim. Here is an extract of the error message I encountered:
At line 799 of file plasim.f90 Fortran runtime warning: An array temporary was created for argument '_formal_183' of procedure 'mpputgp' No module named 'exoplasim.pyfft' No module named 'exoplasim.pyfft' Error writing output to MOST.00000.nc; log written to postprocess.log Going to stop here just in case...... ExoPlaSim has crashed or begun producing garbage. All working files have been moved to /home/gema/ExoPlaSim-master/mymodel_aquaplanet_crashed/ mkdir: cannot create directory ‘/home/gema/ExoPlaSim-master/mymodel_aquaplanet_crashed’: File exists mv: cannot stat '/home/gema/ExoPlaSim-master/mymodel_aquaplanet_testrun/*': No such file or directory Traceback (most recent call last): File "/home/gema/ExoPlaSim-master/exoplasim/__init__.py", line 1112, in postprocess pyburn.postprocess(inputfile,inputfile+self.extension,logfile=log,namelist=namelist, File "/home/gema/ExoPlaSim-master/exoplasim/pyburn.py", line 3685, in postprocess data = dataset(rawfile, variables, mode=mode,radius=radius,gravity=gravity,gascon=gascon, File "/home/gema/ExoPlaSim-master/exoplasim/pyburn.py", line 1389, in dataset rawdata = readfile(filename) File "/home/gema/ExoPlaSim-master/exoplasim/pyburn.py", line 594, in readfile import exoplasim.pyfft as pyfft ModuleNotFoundError: No module named 'exoplasim.pyfft'

I have made several attempts to address this issue based on suggestions I found. Initially, I noticed a compatibility problem with numpy version 1.14, so I tried to uninstall both numpy and exoplasim and then installed numpy version 1.22. I also attempted to use virtual environments to ensure compatibility. However, these efforts did not resolve the issue.

Additionally, I came across a similar error in a forum discussion (https://worldbuildingpasta.blogspot.com/2021/11/an-apple-pie-from-scratch-part-vi.html), where I followed the recommendation to add some files to the directory "home/gema/.local/bin" to address compatibility problems. Unfortunately, this solution did not work for me either. I have included a zip file with the mentioned files and my two versions of the code (one for "gema" and another for "benji").

In some cases, the compatibility error did not appear when executing the exo.run() command. However, at that point, the console did not display any output. I observed CPU activity using htop, which showed that calculations were being performed.

To provide you with more context, I ran the program on two different computers. "gema" has 32 cores with a clock speed of 4.2GHz, while "benji" has 8 cores with a clock speed of 3.2GHz. I used the code configured to use 12 cores on "gema" and 4 cores on "benji".

Given the unsuccessful attempts to resolve the issue using available resources, including reading the PlaSim and ExoPlaSim manuals, I am reaching out to you for assistance. I kindly request your guidance in resolving this compatibility error and missing module issue.

Thank you very much for your attention and support. I appreciate your time and expertise in helping me overcome this obstacle.

Kindly,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions