-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel Porting #13
Comments
Additional errors found Full output is saved in this repo as When I run the programs, here are the print statements I ask for:
So I should be seeing "Before m shape", "m shape", "Between m shape and momentum", and then "Momentum" and "Momentum shape" in that order. Instead, I see this
This repeats 8 times, and each time the Momentum output has different numbers. After the 8th time, we see this:
So for some reason, it's printing things out of order. |
Latest issue
Interestingly, there is no complaint from line 191, in which I run |
So, the previous issue was because I left a rogue tracer in the code... so it kept timing out while it waited for me to respond... oops. Now we finally have real issues! When I run
I get the following error:
After investigating with some print statements, I discovered the problem: Also, I notice that when I create a Gaussian Kernel, only the first 43 entries are nonzero, and the remaining 180 entries are zeros:
So that's weird. |
7/2/2019
FYI copies of
FlowAnalysis.py
andrun_analysis.py
should (hopefully) be available here: https://github.com/pgrete/energy-transfer-analysis/tree/auroraCopied
a-1.00
to my scratch directoryRan
srun -n 8 --mem-per-cpu=10G python ~/src/energy-transfer-analysis/run_analysis.py --res 256 --data_path /mnt/scratch/f0008575/a-1.00/id0/Turb.0010.vtk --data_type Athena --type flow --eos isothermal -forced --outfile /mnt/scratch/f0008575/a-1.00/method_b_0010.hdf5
Output:
"
Just wrote statistics for AbsRotU
Traceback (most recent call last):
File "/mnt/home/f0008575/src/energy-transfer-analysis/run_analysis.py", line 221, in
FA.run_analysis()
File "/mnt/home/f0008575/src/energy-transfer-analysis/FlowAnalysis.py", line 249, in run_analysis
self.FT_momentum = self.FFT.forward(momentum, self.FT_momentum)
File "/mnt/home/f0008575/yt-conda/lib/python3.7/site-packages/mpi4py_fft/mpifft.py", line 63, in call
self.input_array[...] = input_array
ValueError: could not broadcast input array from shape (3,32,256,256) into shape (32,256,256)
"
The text was updated successfully, but these errors were encountered: