Replies: 11 comments 24 replies
-
Dear jk262626, Thanks for your kind words! As for your questions:
You can do the above once and for all by adding the following to your
Don't forget to Best, |
Beta Was this translation helpful? Give feedback.
-
I got the source code by Should I need to do this? I skip this. |
Beta Was this translation helpful? Give feedback.
-
Could you please try to build the latest develop branch? I made 2 changes to the
Would you please let me know if this solves you issues? Best, |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the update! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Nakib,
|
Beta Was this translation helpful? Give feedback.
-
Is there a space missing before -lopenblas in the linking command?
…On Fri, Dec 1, 2023, 18:15 Jiyoung Kim ***@***.***> wrote:
Hi Nakib,
Thanks to your comments, it seems to be linked to the library now.
I modified Cmake file like this.
#Set flags for caf
if(CMAKE_Fortran_COMPILER MATCHES "caf")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -O2 -cpp -fPIC -fbounds-check -Wunused -Wconversion -Wunderflow -Wdo-subscript -L/home/jkim3/miniconda3/pkgs/libopenblas-0.3.21-h043d6bf_0/lib/-lopenblas")
#set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -O2 -fPIC -fbounds-check -Wunused -Wconversion -Wunderflow -Wdo-subscript")
endif()
#Set spg library
find_library(SPG_LIB NAMES symspg REQUIRED)
#find_library(BLAS_LIB NAMES blas REQUIRED)
#find_library(LAPACK_LIB NAMES lapack REQUIRED)
#Set library links
#set(LINKS "-lblas -llapack ${SPG_LIB}")
set(LINKS "${SPG_LIB}")
Now, I'm getting a new error like this figure below!
image.png (view on web)
<https://github.com/nakib/elphbolt/assets/138066037/82f24c1f-ab94-4c35-9b99-f169ef195525>
—
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN7Y2K5F5FPXFNXLMJ7IO3YHIGEDAVCNFSM6AAAAAA7DFMDNGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMZRHAZDO>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Great!
I'll let you know when I figure out why the fpm build didn't work for you.
…On Fri, Dec 1, 2023, 19:46 Jiyoung Kim ***@***.***> wrote:
Awesome!! I finally can compile it.
image.png (view on web)
<https://github.com/nakib/elphbolt/assets/138066037/c0842662-0097-4041-b326-a6ed960672b4>
image.png (view on web)
<https://github.com/nakib/elphbolt/assets/138066037/59e214fb-55bf-46db-afbd-4f315a44ef4c>
I'm running ctest now.
—
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN7Y2L3EEHOVGXF4WKJKRTYHIQWVAVCNFSM6AAAAAA7DFMDNGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMZSGU3TE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The tests should pass. Could you share the output of the test? I can take a
look on Monday.
…On Fri, Dec 1, 2023, 21:46 Jiyoung Kim ***@***.***> wrote:
image.png (view on web)
<https://github.com/nakib/elphbolt/assets/138066037/676d6d8f-6f79-4978-bb91-d12b6f5aa8e8>
I encountered some errors after running ctest.
Should I address this or can I just move forward with Si example?
—
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN7Y2O6B6262AABRGUJNLTYHI6YPAVCNFSM6AAAAAA7DFMDNGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMZUGAZDQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear Nakib,
Thank you so much for your effort on a wonderful software, elphbolt!
I'm trying to install elphbolt in HPC system (Linux-rocky8-zen2) and this is the shared cluster system like Expanse.
Both the spglib and opencoarrays are installed on my HPC system by myself.
And then, I tried to do the next step '3. build' in your instruction with the following procedure.
export FPM_FC=caf
export FPM_FFLAGS="-g -O2 -fPIC -fbounds-check -Wunused -Wconversion -Wunderflow -Wdo-subscript"
[dependencies]
testify = { git = "git@github.com:nakib/testify.git" } .
Can I get an advice on this? I want to stick to fpm to build elphbolt.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions