limit cputime 10
rm ./-vSee rm --help.
NB a file called -v in a directory can mess up grep when using wild cards on grep's command line.
getconf PAGESIZE
In a C program at runtime, how can I find out the clock frequency of the core it is running on?
Find current cpuid and look in /proc/cpuinfo
WARNING: Some cpuid() information is static.
(See base_max_frequency.c).
On modern Intel multi-core servers individual core's clock
speed vary rapidly. Mostly Intel's EAX reports static information.
unknown error.
error: incomplete type is not allowed
,
shared memory,
ptxas error,
no __ldg
nm
libc*
error: 'for' loop initial declaration used outside C99 mode
-std=gnu99
to gcc
command line.
error: _mm512_cmpneq_ps_mask was not declared in this scope
_mm512_cmpneq_ps_mask
is only defined if __OPTIMIZE__ is define.
Hence problem can occur when try to compile for debug
without optimisation.
Work around is to take copy of
_mm512_cmpneq_ps_mask
from avx512fintrin.h
xfig export
any image causes xfig
to abort with status code 2
gimp Scanjob_20140723_113245.pdf
fails saying
GIMP Message
Opening 'file name' failed: Plug-In could not open image
Possible Work Around
Convert the file from pdf to postscript, eg
pdftops Scanjob_20140723_113245.pdf Scanjob_20140723_113245.ps
%%BoundingBox:
convert -transparent white
fails to create transparent gif.
xv
's colour map will show you actually what RGB value it has.
Alternatively
Wikipedia
suggests the GIF colour map ends at byte (hex) 30A--30C.
hexdump -c
gives the bytes in octal.
E.g.
hexdump -c silver_humie_2014.gif2 | more 0000300 377 377 376 364 374 377 373 377 375 377 376 377 374Convert 0376 0377 0374 to hex. Eg:
gawk 'END{printf "#%x%x%x\n", 0376, 0377, 0374}' /dev/nulland then use with
convert -transparent
.
eg
convert x2.gif -transparent #fefffc x3.gif
\setlength{\verbatimindent}{0pt}
before \begin{verbatim}
(it also seems to work in figure and floating ).
ps2ascii test.ps > test.txt
a2ps -1 --landscape -l190
(see also man a2ps
)
pdftops followed by psselect.
E.g.
psselect -p1,3,5,7 Scan_to_USB_74_20151112_125528.ps > t.ps
Other PDF hints
! Package natbib Error: Bibliography not compatible with author-year citations. (natbib) PressPerhaps one of your bibtex entries does not have a year?to continue in numerical citation style. See the natbib package documentation for explanation. Type H for immediate help. ... l.210 ...and\NAT@force@numbers{}\NAT@force@numbers