pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(ham/wsjtx/TODO) document PKG_OPTION.fftw and (data) memory requirement
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By: mef
Date: Wed Jan 29 23:07:23 2025 +0900
Changeset: d0faaeb5d350418a022b2f5f2b6bcc0e1ef88551
Modified Files:
wsjtx/TODO
Log Message:
(ham/wsjtx/TODO) document PKG_OPTION.fftw and (data) memory requirement
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d0faaeb5d350418a022b2f5f2b6bcc0e1ef88551
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wsjtx/TODO | 51 +++++++++++++++++++++++----------------------------
1 file changed, 23 insertions(+), 28 deletions(-)
diffs:
diff --git a/wsjtx/TODO b/wsjtx/TODO
index 971b821434..aab886b529 100644
--- a/wsjtx/TODO
+++ b/wsjtx/TODO
@@ -1,35 +1,30 @@
-1. Previous problem, missing sfftw_* symbol, is resolved by adding
- PKG_OPTIONS.fftw+= fftw-fortran
- and packaged fine on NetBSD/amd64 9.3
-
-1.1 See fonts/ghostscript-cidfonts-ryumin
- | revision 1.7
- | date: 2013-04-03 02:32:36 +0900; author: mef; state: Exp; lines: +2 -2;
- | PKG_OPTIONS_VAR= for ghostscript-gpl and ghostscript-agpl are both PKG_OPTIONS.ghostscript.
- | -.if empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mdisable-compile-inits)
- | +.if empty(PKG_BUILD_OPTIONS.ghostscript:Mdisable-compile-inits)
-
- | mef20@makoto 08:03:48/250127(..wip/wsjtx)% make show-var VARNAME=PKG_BUILD_OPTIONS.fftw
- | fftw-fortran simd
+This program needs two things:
-2. On NetBSD/amd64 9.3 (and 10.99.12) Now getting at starting
- 'wsjtx' failed: Cannot allocate memory
-
-3. On NetBSD/amd64 10.99.12 (pbulk) had not been packaged with
- ..
- ERROR: bin/wsjtx: missing library: libgomp.so.1
- ..
- etc,
- The work around is asking gcc 14, and now packaged.
+1. When math/fftw is packaged,
+ PKG_OPTIONS.fftw+= fftw-fortran
+ is required, and this is not default,
+ pbulk will fail as BROKEN package
-4. Riastradh@ told me following test
+ Thanks IrisZzz at #pkgsrc on irc
-mef20@makoto 07:41:06/250127(..wip/wsjtx)% \
-sudo dtrace -n 'sdt:::set-error /(execname == "wsjtx" || execname == "ktrace") && arg0 == 12/ { @[stack()] count()
- }' -c "ktrace ./wsjtx"
+2. Requires huge memory,
+2.1
+ on NetBSD 10.99.12
+ ulimit -d 524288
+ is required on the shell to start
+2.2
+ on NetBSD 9.3 both hard and soft limit should be raised by
+ su -l root -c "sysctl -w proc.$$.rlimit.datasize.hard=536870912"
+ ulimit -d 524288
+ (536870912 = 1024 * 524288)
-dtrace: invalid probe specifier sdt:::set-error /(execname == "wsjtx" || execname == "ktrace") && arg0 == 12/ { @[stack()] count() }: syntax error near "count"
-[ 3856376.1307068] sorry, pid 23498 was killed: orphaned traced process
+ 524,288 is for an example, not fully tested.
+2.3
+ If above operation is on zsh and you have problems, probably you
+ may have suffered from zsh cacheing issue on above limits.
+ Please try the same thing with sh (bin/sh).
+ Thanks Riastradh@ to have figured out item 2 above
+3. To find where to document above 2 notes
Home |
Main Index |
Thread Index |
Old Index