[petsc-dev] PTScotch problem on Mac

Matthew Knepley knepley at gmail.com
Tue Nov 23 17:36:19 CST 2021


On Tue, Nov 23, 2021 at 4:36 PM Lawrence Mitchell <wence at gmx.li> wrote:

>
>
> > On 23 Nov 2021, at 21:29, Satish Balay via petsc-dev <
> petsc-dev at mcs.anl.gov> wrote:
> >
> > perhaps "dtruss -f" ?
> >
> >
> https://stackoverflow.com/questions/1925978/equivalent-of-strace-feopen-command-on-mac-os-x
> >
> > balay at ypro petsc % dtruss -f ./configure
> > dtrace: system integrity protection is on, some features will not be
> available
> > dtrace: failed to initialize dtrace: DTrace requires additional
> privileges
>
> Yeah, you need boot into recovery mode (holding Command-R on startup) and
> turn off the SIP:
>
> csrutil enable --without dtrace
>
> Remind me why we use apple hardware again?
>

Ah ha!

master *:~/Downloads/tmp/hpc1$ dtruss -f ls

dtrace: failed to initialize dtrace: DTrace requires additional privileges

 1master *:~/Downloads/tmp/hpc1$ sudo dtruss -f ls

Password:

PID/THRD  SYSCALL(args)  = return

.DS_Store makefile mesh.xmf meshtest.c

ex13.c mesh.h5 meshtest meshtest.o

76662/0x16881f3:  issetugid(0x0, 0x0, 0x0) = 0 0

76662/0x16881f3:  getentropy(0x7FFEE560E120, 0x20, 0x0) = 0 0

76662/0x16881f3:  getentropy(0x7FFEE560E170, 0x40, 0x0) = 0 0

76662/0x16881f3:  getpid(0x0, 0x0, 0x0) = 76662 0

76662/0x16881f3:  stat64("/AppleInternal\0", 0x7FFEE560E710, 0x0) = -1 Err#2

76662/0x16881f3:  csops_audittoken(0x12B76, 0x7, 0x7FFEE560E260) = 0 0

76662/0x16881f3:  proc_info(0x2, 0x12B76, 0xD) = 64 0

76662/0x16881f3:  csops_audittoken(0x12B76, 0x7, 0x7FFEE560DAE0) = 0 0

76662/0x16881f3:  open_nocancel("/usr/share/locale/en_US.UTF-8/LC_COLLATE\0",
0x0, 0x7) = 3 0

76662/0x16881f3:  fcntl_nocancel(0x3, 0x3, 0x0) = 0 0

76662/0x16881f3:  getrlimit(0x1008, 0x7FFEE560EDF0, 0x0) = 0 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560ED68, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3, "1.1A\n\0", 0x1000) = 2086 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:  open_nocancel("/usr/share/locale/en_US.UTF-8/LC_CTYPE\0",
0x0, 0x5) = 3 0

76662/0x16881f3:  fcntl_nocancel(0x3, 0x3, 0x0) = 0 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560EEA8, 0x0) = 0 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560ECA8, 0x0) = 0 0

76662/0x16881f3:  lseek(0x3, 0x0, 0x1) = 0 0

76662/0x16881f3:  lseek(0x3, 0x0, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3, "RuneMagAUTF-8\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "\0", 0x1000) = 4096 0

76662/0x16881f3:  read_nocancel(0x3, "@\004\211\0", 0xF5D0) = 62928 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:  open_nocancel("/usr/share/locale/en_US.UTF-8/LC_MONETARY\0",
0x0, 0x8) = 3 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560EEB8, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3, "USD
\n$\n.\n,\n3;3\n\n-\n2\n2\n1\n0\n1\n0\n1\n1\n\b\0", 0x22) = 34 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:  open_nocancel("/usr/share/locale/en_US.UTF-8/LC_NUMERIC\0",
0x0, 0x7) = 3 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560EEB8, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3, ".\n,\n3;3\n@$\b\0", 0x8) = 8 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:  open_nocancel("/usr/share/locale/en_US.UTF-8/LC_TIME\0",
0x0, 0x4) = 3 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560EEB8, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3,
"Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug\nSep\nOct\nNov\nDec\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\nSun\nMon\nTue\nWed\nThu\nFri\nSat\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday\n%H:%M:%S\n%m/%d/%Y\n%a
%b %e %X %Y\nAM\nP", 0x179) = 377 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/LC_MESSAGES\0",
0x0, 0xFFFFFFFFFFFFFFF4) = 3 0

76662/0x16881f3:  fstat64(0x3, 0x7FFEE560EEB8, 0x0) = 0 0

76662/0x16881f3:  read_nocancel(0x3, "^[yYsS].*\n^[nN].*\n(\0", 0x12) = 18 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0

76662/0x16881f3:  ioctl(0x1, 0x4004667A, 0x7FFEE560F404) = 0 0

76662/0x16881f3:  ioctl(0x1, 0x40087468, 0x7FFEE560FA78) = 0 0

76662/0x16881f3:  getuid(0x0, 0x0, 0x0) = 0 0

76662/0x16881f3:  fstatat64(0xFFFFFFFFFFFFFFFE, 0x7FCD30C062A8,
0x7FFEE560F318) = 0 0

76662/0x16881f3:  open_nocancel(".\0", 0x1000000, 0x0) = 3 0

76662/0x16881f3:  fchdir(0x3, 0x0, 0x0) = 0 0

76662/0x16881f3:  open_nocancel(".\0", 0x1000000, 0x0) = 4 0

76662/0x16881f3:  open_nocancel(".\0", 0x1100004, 0x0) = 5 0

76662/0x16881f3:  getattrlistbulk(0x5, 0x7FFEE560F368, 0x7FCD3100B600) = 8 0

76662/0x16881f3:  getattrlistbulk(0x5, 0x7FFEE560F368, 0x7FCD3100B600) = 0 0

76662/0x16881f3:  close_nocancel(0x5) = 0 0

76662/0x16881f3:  fchdir(0x4, 0x0, 0x0) = 0 0

76662/0x16881f3:  close_nocancel(0x4) = 0 0

76662/0x16881f3:  fstat64(0x1, 0x7FFEE560EBC8, 0x0) = 0 0

76662/0x16881f3:  ioctl(0x1, 0x4004667A, 0x7FFEE560EC14) = 0 0

76662/0x16881f3:  write_nocancel(0x1,
".DS_Store\tmakefile\tmesh.xmf\tmeshtest.c\n\0", 0x27) = 39 0

76662/0x16881f3:  write_nocancel(0x1,
"ex13.c\t\tmesh.h5\t\tmeshtest\tmeshtest.o\n\004\0", 0x25) = 37 0

76662/0x16881f3:  fchdir(0x3, 0x0, 0x0) = 0 0

76662/0x16881f3:  close_nocancel(0x3) = 0 0


master *:~/Downloads/tmp/hpc1$


  Matt


> Lawrence



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211123/f1f9df11/attachment-0001.html>


More information about the petsc-dev mailing list