Tags » Compile

Compiling GROMACS 2016.1 in Ubuntu 16.04 with GPU support

  1. Install Intel Paralell XE cluster from binary file with ALL components
  2. Set environment variables (optionally add to .bashrc)
    source intel/bin/compilervars.sh -arch intel64 -platform linux
    export PATH=$PATH:"/opt/intel"
  3. 155 more words

How to compile, install and run gifine (animated gif creator) in Ubuntu 16.04 LTS using a bash shell script

# install all dependencies for gifine:
sudo apt update
sudo apt install ffmpeg graphicsmagick gifsicle luarocks
sudo apt install cmake libgirepository1.0-dev build-essential git
sudo apt install libxext-dev checkinstall libimlib2-dev
sudo apt install libimlib2 mesa-common-dev libxrender-dev
sudo apt install libxrandr-dev libglew-dev libglm-dev libglu1-mesa-dev
sudo apt build-dep graphicsmagick
git clone… 35 more words

OSS continued

I’m still running through the week 1 shorts and sections of CS50x, and there are substantial amount of concepts to cover, but thankfully enough I’m quite accustomed with most of the basic concepts like conditionals, variables, loops, etc. 160 more words


C iso c90 forbids mixed declarations and code struct

C 에서 해당 에러는 변수정의를 섞어서했을때 또는 선언을 먼저 하지 않았을때 발생합니다.

이 경고를 해결하기위해서는

다음코드의 예처점 char command; 라고 선언을 한다음
command = getchar(); 식으로 해주면 됩니다. 51 more words


Gello and Maven errors while compiling AOKP MM!

Let’s take a look at the problem code:

Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn’t download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:40 from/to central ( 556 more words


C Warning - comparison between pointer and integer

다음과 같은 코드가 있을때 JAVA의 경우라면 맞는 이야기 같지만 C 스텐다드에서는 경고 문구를 출력합니다. 왜냐하면 어레이가 포인터이기 때문에 포인터와 int를 비교하면 안된다는것인데요.

다음코드를 보면 new_position 은 Array 의 Element입니다. 80 more words


LLVM install

We want to install llvm in ubuntu. Firstly we need to install cmake:

wget http://www.cmake.org/files/v3.4/cmake-3.4.3.tar.gz
tar -xvzf cmake-3.4.3.tar.gz
cd cmake-3.4.3/

sudo make install… 60 more words