Sample scientific computing project
CC=clang ./configure --prefix=$HOME/tools/fftw3-3.3.10 --enable-shared make make install
For example, the FFTW3 library
---------------------------------------------------------------
ldconfig -p | grep libfftw3
---------------------------------------------------------------
LD_DEBUG=<opts>
libs: display library search paths
reloc: display relocation processing
files: display progress for input file
symbols: display symbol table processing
bindings: display information about symbol binding
versions: display version dependencies
all: all previous options combined
statistics: display relocation statistics
unused: determined unused DSOs
help: display this help message and exit
C-u M-!: execute a shell command and redirect the output to current buffer
-
essential FOSS packages to install (use apt install): git, clang (with --install-suggests), clang-tools (clang-check), clang-format, xclip
-
configure git locally and connect github
git config --global user.name "Duosi Fan"
git config --global user.email "[email protected]"
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub | xclip -selection clipboard
Some tips of apt * apt -s install : simulate the install but do nothing
- use module to manage intel oneapi toolkits
- sudo apt install environment-modules
- add "source /etc/profile.d/modules.sh" to .bashrc
- execute modulefiles-setup.sh in root of oneapi installation
- add "export MODULEPATH=${MODULEPATH}:/home/duosifan/intel/oneapi/modulefiles" to .bashrc