toshi's blog

RDKit 2020.09 build on Win10 using VS2019

The ussual build script in the qtplatz/scripts/windows-bootstrap.bat failes for compile GraphMol/FileParsers/PNGParser.cpp due to lack of zlib.h.

Quck dirty hack for this is just delete a statement for include zlib.h at around line 25.

 

Undefined

Eigen3 install on Windows (cmake friendly way)

Download Eigen 3.3.7

Expand the zip file, then cd 'eigen-eigen-323c052e1731'

mkdir build

cd build

cmake -G "NMake Makefiles" ..

nmake install

 

Undefined

Quartus Prime Lite on Debian9 memo

Quartus Prime Lite does not officially support Debian though...

Download 'Quartus-lite-17.0.2.602-linux.tar', expand tar file and execute setup.sh can be done on Debian9.  However, /opt/intelFPGA_lite/17.0/quartus/linux64/quartus cannot be started due to no libpng12.so.0 found.  After hours of web search, I've found it can be downlaod .deb package for Ubuntu and it worked.

https://packages.ubuntu.com/xenial/amd64/libpng12-0/download

Undefined

CUDA 9 issue: Got an error '__CUDACC_VER__ is no longer supported.' while compiling QtPlatz

I've prepared new debian 9 install on HP 640 Workstation equipped with Quadro M4000 GPU.  Install CUDA 9 RC (cuda_9.0.103_384.59_linux.run), and all dependent software for QtPlatz build.  I got an error while compiling colormap.cu as "__CUDACC_VER__ is no longer supported." message.  After few hours search, I've figured out it came from include/boost/config/compiler/nvcc.hpp.

Just dirty hack, comment out the line, then cuda compilation went through.

 

Undefined

Kernel module build on DE0-nano-SoC and/or Sodia

Copy corrensponging linux source to /usr/src, then configure kernel.

After we have .config, then 

make modules_prepare

Don't forget

DE0-nano-SoC: CAN Netowrk should be disabled

Both:  CONFIG_GPIO_ALTERA=y

 

Undefined

Debian install to Sodia board from Macnica

Debian install to Sodia board from Macnica

Undefined

Create an SD Dard Image for Debian on Sidia Macnica

Create an SD Dard Image for Debian on Sidia Macnica

prerequisition

Build linux 4.4.52 kernel and debian 8 root file system based on this page.

Extract boot loader & u-boot from sodia image file

Our goal is to make a minimum debian system on Sodia board for fast data acquisition system development.  It can be re-used for boot process files by copy from RocketBoard.org provided file.

Undefined

Quartus Prime Lite USB-Blaster install on Debian Jessie

USB Driver permissions

Edit /etc/udev/rules.d/51-usbblaster.rules as following;

# Altera USB-Blaster for Quartus FPGA Software
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010|6810",TAG+="uaccess"

Then run:

$ sudo udevadm control --reload

Execute jtagconfig

 $ jtagconfig
1) DE-SoC [3-1.1]
  4BA00477   SOCVHPS
  02D010DD   5CSE(BA4|MA4)/5CSXFC4C6

Trouble-shooting

Kill jtagd if already running, then run jtagd in debug mode

Undefined

CUDA 8.0 Sample Compile (on Debian 8.6)

sudo apt-get install freeglut3-dev

Goto NVIDIA_CUDA-8.0_Samples directory, run make as following; 

GLPATH=/usr/lib/x86_64-linux-gnu make
Undefined

OpenCV Install Memo

 

Undefined

Pages

Subscribe to RSS - toshi's blog

User login