Installation through the command line of Boris Lite in Ubuntu

44 views
Skip to first unread message

Sharma Dest

unread,
Nov 28, 2024, 9:31:08 PM11/28/24
to Boris Computational Spintronics
Dear all

I am very interested in operating with this interesting software. My laptop does not support CUDA, so I will go with the Lite CPU-only version for the moment. I was wondering, once I have downloaded the source code for Linux/Ubuntu, which command sequence I have to employ to go with the aforementioned lighter version. It happens that I have switched to Ubuntu today from WIndows so I am not very familiar on how to proceed with this.

Any help would be greatly appreciated.

Best regards,

Sharma

Serban Lepadatu

unread,
Nov 29, 2024, 4:04:51 AM11/29/24
to Boris Computational Spintronics
Dear Sharma,

Please follow the step-by-step guidance in the manual from page 6 (Installation - Linux-based OS). For the Lite version simply ignore anything to do with CUDA and instead set the COMPILECUDA flag to 0 in CompileFlags.h file, as described on page 10.

Kinds regards,
Serban

Sharma Dest

unread,
Nov 29, 2024, 11:02:23 PM11/29/24
to Boris Computational Spintronics
Dear Serban

Thank you very much for your response! Following the installation instructions in the manual for Ubuntu, and your comment about setting to 0 the COMPILECUDA flag, the "make compile" was smooth, apparently. However, when typing "make install", I received the following error message:

nvcc -arch=sm_70 -dlink -w Boris/Boris_cuo/*.o -o Boris/Boris_cuo/rdc_link.o
/bin/sh: 1: nvcc: not found
make: *** [makefile:71: install] Error 127

Do you have any idea what the reason for this error message might be?

Sorry for the inconvenience.

Best regards,

Sharma

Serban Lepadatu

unread,
Dec 3, 2024, 1:46:21 AM12/3/24
to Boris Computational Spintronics
Hi Sharma,

Comment out or delete the nvcc line as it's only applicable to cuda. Hopefully that's the last one, haven't tested non-cuda installation on Ubuntu but should work.

Regards,
Serban

Reply all
Reply to author
Forward
0 new messages