Archivo de la categoría: Nix

mandel

#include /* CC mandel.c/A link mandel.obj,c:suport.obj,c:clib.obj */ main() { float b,e,r,n,d; int h,c; for(e=1.1; e>-1.2; e-=.1) { for(b=-2; b

Categoría: Nix

Linux kernel in C why not C++

http://www.tux.org/lkml/#ss15   Hello Rkalyankumar, The reasons specifically for Linux are explained in great detail as part of the Linux Kernel Mailing List (LKML) Frequently Asked Questions (FAQ) at: http://www.tux.org/lkml/

Categoría: Nix

Enable Cuda on mac mini 3.1 test with Mathematica 8

First download http://www.nvidia.com/object/mac-driver-archive.html CUDA Mac Driver Latest Version: CUDA 3.2.17 driver for MAC Release Date: 11/16/2010 Test in Mathematica 8 with mac mini 3.1 early 2009, Snow Leopard 10.6.7 Needs[«CUDALink`»] CUDAInformation[1] {«Name» -> «GeForce 9400», «Clock Rate» -> 1100000, «Compute Capabilities» -> 1.1, «GPU Overlap» -> 0, «Maximum Block Dimensions» -> {512, 512, 64}, «Maximum… Leer más: Enable Cuda on mac mini 3.1 test with Mathematica 8 »

bashrc list dir

export LS_OPTIONS=’–color’ #eval «‘gdircolors'» alias ls=’gdir $LS_OPTIONS’ alias ll=’gdir $LS_OPTIONS -dlR $PWD/*’ alias l=’gdir $LS_OPTIONS -lA’ export PS1='[\h:\w]\$’

Categoría: Nix

multiple pid kill

ps -ef|grep telnet|grep -v grep | awk ‘{print $2;}’|while read pid do kill -9 $pid done shell #!/usr/bin/sh ps -ef|grep $1|grep -v grep | awk ‘{print $2;}’|while read pid do kill -9 $pid done

Categoría: Nix

linpack C version Solaris SParc

SOURCE: linpackc BUILD: cc -DDP  -DUNROLL  -Xa -dalign linpackc.c -o linpackcdb -lm -xcache=64/64/2:5120/256/10 -m64 ———————————————————————————————— A  0, 16 1800 32.0 US-IV+   2.4 ./linpackcdb Unrolled Double Precision Linpack Unrolled Double Precision Linpack NTIMES= 1000 norm. resid      resid           machep         x[0]-1        x[n-1]-1 1.7        7.41628980e-14  2.22044605e-16 -1.49880108e-14 -1.89848137e-14 times are reported for matrices of order   100 dgefa      dgesl      total      … Leer más: linpack C version Solaris SParc »

linpack java version benchmark

http://www.netlib.org/benchmark/linpackjava/ 0      1000 MHz  SUNW,UltraSPARC-T1     on-line Mflops/s: 5.675  Time: 0.12 secs  Norm Res: 1.43  Precision: 2.220446049250313E-16 A    0    900  8.0 US-III+  2.3 Mflops/s: 10.564  Time: 0.07 secs  Norm Res: 1.43  Precision: 2.220446049250313E-16 A  0, 16 1800 32.0 US-IV+   2.4 Mflops/s: 22.889  Time: 0.03 secs  Norm Res: 1.43  Precision: 2.220446049250313E-16 SPARC64-VII mode 00     0      0,   1,  … Leer más: linpack java version benchmark »

Categoría: Nix