201704161656

Mana ikan orang mencari,
arwana merah dari Kapuas.
Berkah hidup cubakan ciri,
bela Islam sebaik asas.

Advertisements

201704050036

Sangka subur tanah sebidang,
tiba hujan padas semua.
Sangka mujur amal segudang,
tiba hisab riya’ semua.


install cuda8 on ubuntu16.04

I have repeated many times and ended failing on installation of nvidia 840m, and cuda toolkit 8 on ubuntu. I grabbed the nvidia driver from nvidia official site link. Tried its installation both using .run and .deb led me to login failures. It seems that there had been conflict of display api between nvidia and ubuntu. Changing the installation OS to ubuntu 14.04, 15.04, and 17 gave me trivial result. I started to doubt compatibility issue of nvidia nad ubuntu until i met this useful site light.

In nutshell, i experienced having much better result using installation of NVIDIA driver from ubuntu ppa and setting up cuda from the manufacture official site. use this sudo add-apt-repository ppa:graphics-drivers/ppa. then, apt-get update. finally install by going to Ubuntu Software ui, find the tab ‘additional driver’, choose the listed nvidia-driver, then apply change. done! in sya Allaah (God willing), you will gain the driver good.

Installation of cuda toolkit will succeed using parameter –silent –override as explained by the light. you can also add –samples to install samples folder as well. That link will also guide you to add cuda library path to system environment to runnable. To test whether your installation well done, go to samples folder, choose 2_Graphics, choose any project you like, compile by typing sudo make, then run the compiled app using ./ or bash.

 

Hoefully helpful 🙂


201701030237

Ini nangka bukan pepaya,
cuba kupas berpulut juga.
Pun dua berseberang cara,
tetiba Rawon suka semua.


201610171203

Ini pusaka bukan sebarang,
milik raja dibawa lari.
Nak agama dimakar orang,
makar Allaah siapa berani.


201608261216

Kena tiram bukan sembarang,
tiram dibuka mutiara.
Palinglah kaya Nabi seorang,
bukan di harta tapi hatinya.


201608222324

Gelas ini penuh airnya,
bila ditambah tumpahlah ia.
Agama ini pun paripurna,
bila ditambah tertolak pula.