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

installing problem (mathematica erro) #13

Open
Hou-Jin-Xing opened this issue Dec 7, 2021 · 6 comments
Open

installing problem (mathematica erro) #13

Hou-Jin-Xing opened this issue Dec 7, 2021 · 6 comments

Comments

@Hou-Jin-Xing
Copy link

Dear professor;

My operating system is WSL ubuntu 20.04, and the compiler is g++ 9.3.0. The cmake output is following:

$ cmake ../nrgljubljana -DCMAKE_INSTALL_PREFIX=$HOME/nrgljubljana/
-- NRGLJUBLJANA version : 2021.5
-- NRGLJUBLJANA Git hash: 6bb6e31
-- -------- CMAKE_INSTALL_PREFIX: /home/jinxing/nrgljubljana --------
-- -------- BUILD-TYPE: Release --------
-- -------- MPI detection -------------
-- MPI_FOUND: TRUE VERSION:
-- MPI_CXX_COMPILER: /usr/bin/mpicxx
-- MPIEXEC: /usr/bin/mpiexec
-- MPIEXEC_EXECUTABLE: /usr/bin/mpiexec
-- MPIEXEC_NUMPROC_FLAG: -n
-- MPIEXEC_PREFLAGS: --oversubscribe;--oversubscribe
-- MPIEXEC_POSTFLAGS:
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- Found Boost: /usr/include (found suitable version "1.71.0", minimum required is "1.53") found components: serialization mpi
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found GSL: /usr/include (found version "2.5")
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.so
-- Could NOT find Mathematica_WSTP (missing: Mathematica_WSTP_LIBRARY Mathematica_WSTP_INCLUDE_DIR)
-- Could NOT find Mathematica_MathLink (missing: Mathematica_MathLink_LIBRARY Mathematica_MathLink_INCLUDE_DIR)
-- Could NOT find Mathematica_WolframLibrary (missing: Mathematica_WolframLibrary_LIBRARY Mathematica_WolframLibrary_INCLUDE_DIR)
-- Could NOT find Mathematica_JLink (missing: Mathematica_JLink_PACKAGE_DIR Mathematica_JLink_JAR_FILE)
-- Could NOT find Mathematica_MUnit (missing: Mathematica_MUnit_PACKAGE_DIR)
-- Could NOT find Mathematica (missing: Mathematica_ROOT_DIR Mathematica_KERNEL_EXECUTABLE
Mathematica_FRONTEND_EXECUTABLE)
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /usr/lib/x86_64-linux-gnu/libblas.so
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- BLAS_LIBRARIES=/usr/lib/x86_64-linux-gnu/libblas.so
-- BLAS_LINKER_FLAGS=
-- LAPACK_LIBRARIES=/usr/lib/x86_64-linux-gnu/liblapack.so;/usr/lib/x86_64-linux-gnu/libblas.so
-- LAPACK_LINKER_FLAGS=
-- Looking for cblas_dgemm
-- Looking for cblas_dgemm - found
-- cblas interface found in blas library
-- Building an extended set of symmetry types
-- Building the full set of symmetry types
-- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.10")
-- Found Perl: /usr/bin/perl (found version "5.30.0")
-- ***************************************************************
-- * Use:
-- *
-- * source /home/jinxing/nrgljubljana/share/nrgljubljanavars.sh
-- *
-- * to set up the environment variables
-- ***************************************************************
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jinxing/build

I have no ideal on the mathematica part. Could you give me some suggestions?
Thank you sir

Yours sincerely,
Jinxing

@rokzitko
Copy link
Owner

rokzitko commented Dec 7, 2021 via email

@Hou-Jin-Xing
Copy link
Author

Hou-Jin-Xing commented Dec 7, 2021

Dear professor:

I installed mathematica, but it doesn't work from the command line.
I will try to install mathematica correctly, thank you sir.

Kind regards,
Jinxing

@rokzitko
Copy link
Owner

rokzitko commented Dec 7, 2021 via email

@Hou-Jin-Xing
Copy link
Author

Dear professor:

Thank you very much for your quick reply.

I have installed NRG Ljubljana - TRIQS interface. I tried to follow nrgljubljana_interface/doc/guide/defining_models.rst to write a new Hamiltonian in the template. It seems that I also need mathematica.

**_Here we again make use of sneg functions, as well as of high-level functions defined in initial.m which is part of the nrginit Mathematica code.

The template files are then obtained by running nrginit. This will generate data.in, ham_* and op.* template files. The log file with some details about the generation process is saved as mmalog._**

Does this means that I need generate data.in, ham_* and op.* template files by by running nrginit on mathematica? And then I will have the input of "NRG Ljubljana - TRIQS interface" like thoes models in template file. Does the models in temple file are generated in mathematica?

Thanks for your help.
Kind regards,
Jinxing

@rokzitko
Copy link
Owner

rokzitko commented Dec 7, 2021 via email

@Hou-Jin-Xing
Copy link
Author

Dear professor:

Thank you very much for your kind help. I will try it.

Kind regards,
Jinxing

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

2 participants