NSLS-II / edrixs

An open source toolkit for simulating RIXS spectra based on ED
https://nsls-ii.github.io/edrixs
GNU General Public License v3.0
32 stars 19 forks source link

bug on osx install #187

Open mpmdean opened 11 months ago

mpmdean commented 11 months ago

Our OSX edrixs install shows a bug as follows. (This does not occur on docker or when running python test_AIM.py 18.)

Running the attached file via

python test_AIM.py 17

[mark-MBP:74511] Process received signal [mark-MBP:74511] Signal: Segmentation fault: 11 (11) [mark-MBP:74511] Signal code: Address not mapped (1) [mark-MBP:74511] Failing at address: 0x1 [mark-MBP:74511] [ 0] 0 libsystem_platform.dylib 0x00007ff8100615ed sigtramp + 29 [mark-MBP:74511] [ 1] 0 ??? 0x8000000000000000 0x0 + 9223372036854775808 [mark-MBP:74511] [ 2] 0 libparpack.2.1.0.dylib 0x00000001563e5e42 pzneupd + 6178 [mark-MBP:74511] End of error message zsh: segmentation fault python test_AIM.py 17

test_AIM.py

!/usr/bin/env python

import argparse parser = argparse.ArgumentParser() parser.add_argument("v_noccu", type=int) args = parser.parse_args()

import edrixs import numpy as np import matplotlib.pyplot as plt

from mpi4py import MPI comm = MPI.COMM_WORLD

v_noccu = args.v_noccu shell_name = ('d', 'p') nbath = 1

do_ed = 1 eval_i, denmat, noccu_gs = edrixs.ed_siam_fort( comm, shell_name, nbath, v_noccu=v_noccu, do_ed=do_ed)