PyNe make error for Ubuntu 20.04

33 views
Skip to first unread message

Emil Memmedzade

unread,
Feb 1, 2023, 1:02:21 PM2/1/23
to PyNE
[ 20%] Building CXX object src/CMakeFiles/pyne.dir/transmuters.cpp.o
[ 21%] Building CXX object src/CMakeFiles/pyne.dir/utils.cpp.o
/home/emil/pyne/src/utils.cpp:14:10: fatal error: pyne_version.h: No such file or directory
   14 | #include "pyne_version.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/pyne.dir/build.make:268: src/CMakeFiles/pyne.dir/utils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:203: src/CMakeFiles/pyne.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Paul Wilson

unread,
Feb 1, 2023, 4:39:21 PM2/1/23
to pyne...@googlegroups.com

Hello Emil,

 

This is a surprising error.

 

Can you please share the command you issued that caused this and which directory you were in when you did so?  Perhaps more of your log information would be useful – everything that was written out after the command.

 

Thanks,

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

--

---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-dev/24541f6e-b2be-47a3-81da-9b49171505abn%40googlegroups.com.

Baptiste MOUGINOT (BaM)

unread,
Feb 1, 2023, 5:17:16 PM2/1/23
to pyne...@googlegroups.com
Hello 

the pyne_version.h is supposed to be generated with cmake (which call the pybe_version.py)

My guess is something went wrong on the cmake call

B. Mouginot 

On 1 Feb 2023, at 22:39, 'Paul Wilson' via PyNE <pyne...@googlegroups.com> wrote:



Emil Memmedzade

unread,
Feb 1, 2023, 5:33:30 PM2/1/23
to PyNE
emil@DESKTOP-:~/pyne/buildd$ cmake ..

                                  /   \
                          )      ((   ))     (
(@)                      /|\      ))_((     /|\
|-|                     / | \    (/\|/\)   / | \                      (@)
| | -------------------/--|-voV---\`|'/--Vov-|--\---------------------|-|
|-|                         '^`   (o o)  '^`                          | |
| |                               `\Y/'                               |-|
|-|                                                                   | |
| |        /\             ___           __  __             /\         |-|
|-|       /^~\           / _ \_   _  /\ \ \/__\           /^~\        | |
| |       /^~\          / /_)/ | | |/  \/ /_\             /^~\        |-|
|-|       /^~\         / ___/| |_| / /\  //__             /^~\        | |
| |       ^||`         \/     \__, \_\ \/\__/             ^||`        |-|
|-|        ||                |____/                        ||         | |
| |       ====                                            ====        |-|
|-|                                                                   | |
| |                                                                   |-|
|-|___________________________________________________________________| |
(@)              l   /\ /         ( (       \ /\   l                `\|-|
                 l /   V           \ \       V   \ l                  (@)
                 l/                _) )_          \I
                                   `\ /'
                                     `


-- Pyne platform defined as: __LINUX__
-- Build spatial solvers: false
-- Build type: Release
-- PyNE Fast Compile: TRUE
-- CMAKE_INSTALL_RPATH: /usr/local/lib:/usr/lib
-- CMake Install Prefix: /usr/local
-- Dependency Root Dir (DEPS_ROOT_DIR): /usr
-- Dependency Hints (DEPS_HINTS): HINTS;/usr
-- Dependency Binary Hints (DEPS_BIN_HINTS): HINTS;/usr;/usr/bin
-- Dependency Library Hints (DEPS_LIB_HINTS): HINTS;/usr;/usr/lib
-- Dependency Include Hints (DEPS_INCLUDE_HINTS): HINTS;/usr/include
-- HDF5 Root:
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
--    HDF5 Include directory: /usr/include/hdf5/serial
--    HDF5 Library directories:
--    HDF5 Libraries: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so
--    HDF5 library version: 1.10.4
-- PYTHON_EXECUTABLE: /usr/bin/python3.8
-- PYTHON_SITE_PACKAGES: /usr/local/local/lib/python3.8/dist-packages
-- NUMPY_VERSION_STRING = 1.24.1
-- CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES: /usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib
-- CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES: gfortran;m;gcc_s;gcc;quadmath;m;gcc_s;gcc;c;gcc_s;gcc
-- LIBS: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libpython3.8.so
-- decay.cpp exists, no need to download or extract!
-- decay-linux-gnu.s exists, no need to download or extract!
-- cram.c exists, no need to download or extract!
-- cram-linux-gnu.s exists, no need to download or extract!
-- Compiling decay.cpp fast from assembly decay-linux-gnu.s
-- Compiling cram.c fast from assembly cram-linux-gnu.s
-- Include paths for /home/emil/pyne/src: /usr/include/hdf5/serial;/home/emil/.local/lib/python3.8/site-packages/numpy/core/include;/home/emil/pyne/buildd/pyne;/home/emil/pyne/src
-- Include paths for /home/emil/pyne/pyne: /usr/include/hdf5/serial;/home/emil/.local/lib/python3.8/site-packages/numpy/core/include;/home/emil/pyne/buildd/pyne;/home/emil/pyne/src
-- Modules to Cythonize: ace;bins;data;dtypes;endf;enrichment;extra_types;jsoncpp;material;material_library;nucname;particle;pyne_config;rxname;source;stlcontainers;tally;transmuters;_utils
-- F2PY F90 FLAGS:
-- Include paths for /home/emil/pyne/pyne/xs: /usr/include/hdf5/serial;/home/emil/.local/lib/python3.8/site-packages/numpy/core/include;/home/emil/pyne/buildd/pyne;/home/emil/pyne/src
-- Configuring done
-- Generating done
-- Build files have been written to: /home/emil/pyne/buildd

2 Şubat 2023 Perşembe tarihinde saat 01:17:16 UTC+3 itibarıyla mouginot...@gmail.com şunları yazdı:
Reply all
Reply to author
Forward
0 new messages