shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Traceback (most recent call last): File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/build/../modules/phenix/phenix/command_line/real_space_refine.py", line 5, in from phenix.programs import real_space_refine File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/phenix/phenix/programs/real_space_refine.py", line 3, in import mmtbx.maps.map_model_cc File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/mmtbx/maps/__init__.py", line 16, in from iotbx import extract_xtal_data File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/iotbx/extract_xtal_data.py", line 6, in from iotbx import reflection_file_utils File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/iotbx/reflection_file_utils.py", line 2, in from iotbx import reflection_file_reader File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/iotbx/reflection_file_reader.py", line 63, in from iotbx.shelx import crystal_symmetry_from_ins File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/iotbx/shelx/crystal_symmetry_from_ins.py", line 2, in from iotbx import shelx, builders File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/iotbx/builders.py", line 14, in from smtbx.refinement.restraints import adp_restraints as smtbx_adp_restraints File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/smtbx/refinement/__init__.py", line 3, in from smtbx.refinement import constraints, least_squares, restraints File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/smtbx/refinement/least_squares.py", line 12, in from scitbx.lstbx import normal_eqns File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/scitbx/lstbx/normal_eqns.py", line 85, in if libtbx.env.has_module('fast_linalg'): File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/libtbx/env_config.py", line 673, in has_module result = self.check_local_env('_has_module', name) File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/libtbx/env_config.py", line 553, in check_local_env local_env = get_local_env() File "/net/cci-filer2/raid1/xp/phenix/phenix-1.21rc1-4953/modules/cctbx_project/libtbx/env_config.py", line 3221, in get_local_env build_dir = os.getcwd() OSError: [Errno 2] No such file or directory