Skip to content
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

Error when executing "run_ml_surrogate_15_stage.py" #773

Open
lwan86 opened this issue Dec 17, 2024 · 0 comments
Open

Error when executing "run_ml_surrogate_15_stage.py" #773

lwan86 opened this issue Dec 17, 2024 · 0 comments

Comments

@lwan86
Copy link

lwan86 commented Dec 17, 2024

I got the following error:

Traceback (most recent call last):
File "....../run_ml_surrogate_15_stage.py", line 358, in
sim.track_particles()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'impactx.impactx_pybind.ImpactX' object has no attribute 'track_particles'. Did you mean: 'add_particles'?

In order to install pytorch, I had to downgrade the python version from 3.13 to 3.12 in the conda environment which downgraded a bunch of other packages. Maybe this is the cause of this issue. The following are all packages in the conda environment after downgradation:

_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
adios2 2.10.1 nompi_py312he8c16a3_101 conda-forge
aiohappyeyeballs 2.4.4 pyhd8ed1ab_1 conda-forge
aiohttp 3.10.5 py312h5eee18b_0
aiosignal 1.3.2 pyhd8ed1ab_0 conda-forge
amrex 24.10 nompi_hd58f592_100 conda-forge
attrs 24.3.0 pyh71513ae_0 conda-forge
blas 1.0 mkl
bottleneck 1.4.2 py312ha883a20_0
brotli-python 1.0.9 py312h6a678d5_8
bzip2 1.0.8 h4bc722e_7 conda-forge
c-ares 1.34.4 hb9d3cd8_0 conda-forge
c-blosc2 2.14.4 hb4ffafa_1 conda-forge
ca-certificates 2024.12.14 hbcca054_0 conda-forge
certifi 2024.8.30 py312h06a4308_0
charset-normalizer 3.3.2 pyhd3eb1b0_0
cpuonly 2.0 0 pytorch
ffmpeg 4.3 hf484d3e_0 pytorch
fftw 3.3.10 nompi_hf1063bd_110 conda-forge
filelock 3.13.1 py312h06a4308_0
freetype 2.12.1 h4a9f257_0
frozenlist 1.5.0 py312h5eee18b_0
giflib 5.2.2 h5eee18b_0
gmp 6.2.1 h295c915_3
gnutls 3.6.15 he1e5248_0
hdf5 1.14.3 nompi_hdf9ad27_105 conda-forge
idna 3.10 pyhd8ed1ab_1 conda-forge
impactx 24.10 py312ha6bd4de_0 conda-forge
intel-openmp 2023.1.0 hdb19cb5_46306
jinja2 3.1.4 py312h06a4308_1
jpeg 9e h5eee18b_3
keyutils 1.6.1 h166bdaf_0 conda-forge
krb5 1.20.1 h81ceb04_0 conda-forge
lame 3.100 h7b6447c_0
lcms2 2.12 h3be6417_0
ld_impl_linux-64 2.43 h712a8e2_2 conda-forge
lerc 3.0 h295c915_0
libadios2 2.10.1 nompi_hfc72546_101 conda-forge
libaec 1.1.3 h59595ed_0 conda-forge
libblas 3.9.0 1_h86c2bf4_netlib conda-forge
libcblas 3.9.0 8_h3b12eaf_netlib conda-forge
libcurl 8.9.1 h251f7ec_0
libdeflate 1.17 h5eee18b_1
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 hd590300_2 conda-forge
libexpat 2.6.4 h5888daf_0 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc 14.2.0 h77fa898_1 conda-forge
libgcc-ng 14.2.0 h69a702a_1 conda-forge
libgfortran 14.2.0 h69a702a_1 conda-forge
libgfortran-ng 14.2.0 h69a702a_1 conda-forge
libgfortran5 14.2.0 hd5240d6_1 conda-forge
libgomp 14.2.0 h77fa898_1 conda-forge
libiconv 1.16 h5eee18b_3
libidn2 2.3.4 h5eee18b_0
libjpeg-turbo 2.0.0 h9bf148f_0 pytorch
liblapack 3.9.0 8_h3b12eaf_netlib conda-forge
liblzma 5.6.3 hb9d3cd8_1 conda-forge
libmpdec 4.0.0 h4bc722e_0 conda-forge
libnghttp2 1.57.0 h2d74bed_0
libnsl 2.0.1 hd590300_0 conda-forge
libopenblas 0.3.28 pthreads_h94d23a6_1 conda-forge
libpng 1.6.43 h2797004_0 conda-forge
libsodium 1.0.18 h7b6447c_0
libsqlite 3.46.0 hde9e2c9_0 conda-forge
libssh2 1.11.1 h251f7ec_0
libstdcxx 14.2.0 hc0a3c3a_1 conda-forge
libstdcxx-ng 14.2.0 h4852527_1 conda-forge
libtasn1 4.19.0 h5eee18b_0
libtiff 4.5.1 h6a678d5_0
libunistring 0.9.10 h27cfd23_0
libuuid 2.38.1 h0b41bf4_0 conda-forge
libwebp 1.3.2 h11a3e52_0
libwebp-base 1.3.2 h5eee18b_1
libxcrypt 4.4.36 hd590300_1 conda-forge
libzlib 1.2.13 h4ab18f5_6 conda-forge
llvm-openmp 14.0.6 h9e868ea_0
lz4-c 1.9.4 h6a678d5_1
markupsafe 2.1.3 py312h5eee18b_0
mkl 2023.1.0 h213fc3f_46344
mkl-service 2.4.0 py312h5eee18b_1
mkl_fft 1.3.11 py312h5eee18b_0
mkl_random 1.2.8 py312h526ad5a_0
more-itertools 10.5.0 pyhd8ed1ab_1 conda-forge
mpmath 1.3.0 py312h06a4308_0
msgpack-python 1.0.3 py312hdb19cb5_0
multidict 6.1.0 py312h5eee18b_0
ncurses 6.5 he02047a_1 conda-forge
nettle 3.7.3 hbbd107a_1
networkx 3.3 py312h06a4308_0
numexpr 2.10.1 py312h3c60e43_0
numpy 1.26.4 py312hc5e2394_0
numpy-base 1.26.4 py312h0da6c21_0
openh264 2.1.1 h4ff587b_0
openjpeg 2.5.2 he7f1fd0_0
openpmd-api 0.16.0 nompi_py312h7395de0_100 conda-forge
openssl 3.4.0 hb9d3cd8_0 conda-forge
packaging 24.2 pyhd8ed1ab_2 conda-forge
pandas 2.2.3 py312h6a678d5_0
pillow 11.0.0 py312hfdbf927_0
pip 24.2 py312h06a4308_0
plotly 5.24.1 pyhd8ed1ab_1 conda-forge
propcache 0.2.0 py312h5eee18b_0
pyamrex 24.10 nompi_py312h8ddaebe_100 conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pysocks 1.7.1 py312h06a4308_0
python 3.12.3 hab00c5b_0_cpython conda-forge
python-dateutil 2.9.0.post0 pyhff2d567_1 conda-forge
python-tzdata 2024.2 pyhd8ed1ab_1 conda-forge
python_abi 3.12 5_cp312 conda-forge
pytorch 2.5.1 py3.12_cpu_0 pytorch
pytorch-mutex 1.0 cpu pytorch
pytz 2024.1 pyhd8ed1ab_0 conda-forge
pyyaml 6.0.2 py312h5eee18b_0
quantiphy 2.20 pyhd8ed1ab_1 conda-forge
readline 8.2 h8228510_1 conda-forge
requests 2.32.3 py312h06a4308_1
scipy 1.14.1 py312hc5e2394_0
setuptools 72.1.0 py312h06a4308_0
six 1.17.0 pyhd8ed1ab_0 conda-forge
sympy 1.13.2 py312h06a4308_0
tbb 2021.8.0 hdb19cb5_0
tenacity 9.0.0 pyhd8ed1ab_1 conda-forge
termcolor 2.5.0 pyhd8ed1ab_1 conda-forge
tk 8.6.13 noxft_h4845f30_101 conda-forge
torchaudio 2.5.1 py312_cpu pytorch
torchvision 0.20.1 py312_cpu pytorch
trame 3.7.1 pyhd8ed1ab_1 conda-forge
trame-client 3.5.0 pyhd8ed1ab_1 conda-forge
trame-matplotlib 2.0.2 pyhd8ed1ab_0 conda-forge
trame-plotly 3.0.2 pyhd8ed1ab_0 conda-forge
trame-router 2.3.0 pyhd8ed1ab_0 conda-forge
trame-server 3.2.3 pyhd8ed1ab_2 conda-forge
trame-vuetify 2.7.2 pyhd8ed1ab_1 conda-forge
trame-xterm 0.2.1 pyhd8ed1ab_0 conda-forge
typing_extensions 4.11.0 py312h06a4308_0
tzdata 2024b hc8b5060_0 conda-forge
urllib3 2.2.3 py312h06a4308_0
wheel 0.44.0 py312h06a4308_0
wslink 2.2.1 pyhd8ed1ab_1 conda-forge
xz 5.4.6 h5eee18b_1
yaml 0.2.5 h7b6447c_0
yarl 1.18.0 py312h5eee18b_0
zeromq 4.3.5 h6a678d5_0
zfp 0.5.5 h9c3ff4c_8 conda-forge
zlib 1.2.13 h4ab18f5_6 conda-forge
zlib-ng 2.0.7 h5eee18b_0
zstd 1.5.6 ha6fb4c9_0 conda-forge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant