I got an error while compiling ambermd. Please let me know how to get around this error with "lvalue required as increment operand"
[ 90%] Building pytraj native library
sys.argv ['setup.py', 'build', '-b', '/home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build', '--disable-openmp']
Original compiler envs
CXX = /shared/gcc-9.4.0/bin/g++
CC = /shared/gcc-9.4.0/bin/gcc
COMPILER =
use_pip = False, cpptraj_home =
compile_c_extension = True
2.0.6
use_prebuilt_cythonized_files = False
pytraj is inside AMBERHOME
using environment: CC=/shared/gcc-9.4.0/bin/gcc, CXX=/shared/gcc-9.4.0/bin/g++
using CC=/shared/gcc-9.4.0/bin/gcc, CXX=/shared/gcc-9.4.0/bin/g++
Final compiler envs
CXX = /shared/gcc-9.4.0/bin/g++
CC = /shared/gcc-9.4.0/bin/gcc
COMPILER =
install = True
set rpath to /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/cpptraj/src
/home/ubuntu/miniconda3/lib/python3.10/site-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running build
running build_py
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj
copying pytraj/version.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj
copying pytraj/io.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj
copying pytraj/all_actions.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj
copying pytraj/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/context.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/check_and_assert.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/tools.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/Timer.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/progress.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/get_common_objects.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/misc.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/convert.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/c_commands.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
copying pytraj/utils/decorators.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/builder
copying pytraj/builder/build.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/builder
copying pytraj/builder/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/builder
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/topology_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/vector.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/energy_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/nucleic_acid_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/nmr.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/matrix.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/rmsd.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/hbond_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/base_holder.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/dssp_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/water.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/dihedral_analysis.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
copying pytraj/analysis/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_action
copying pytraj/analysis/c_action/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_action
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_analysis
copying pytraj/analysis/c_analysis/analysis_dict.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_analysis
copying pytraj/analysis/c_analysis/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_analysis
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
copying pytraj/datasets/datasetlist.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
copying pytraj/datasets/array.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
copying pytraj/datasets/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/externals
copying pytraj/externals/magic.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/externals
copying pytraj/externals/load_other_packages.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/externals
copying pytraj/externals/wurlitzer.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/externals
copying pytraj/externals/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/externals
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/trajectory_iterator.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/shared_methods.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/stripped_trajectory.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/shared_trajectory.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/trajectory.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/frameiter.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory/c_traj
copying pytraj/trajectory/c_traj/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory/c_traj
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/topology
copying pytraj/topology/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/topology
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles
copying pytraj/datafiles/load_samples.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles
copying pytraj/datafiles/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/ala3
copying pytraj/datafiles/ala3/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/ala3
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
copying pytraj/datafiles/tz2/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/dpdp
copying pytraj/datafiles/dpdp/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/dpdp
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/trpcage
copying pytraj/datafiles/trpcage/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/trpcage
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/remd_ala2/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/math
copying pytraj/math/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/math
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/elements.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
copying pytraj/parallel/base.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
copying pytraj/parallel/dataset.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
copying pytraj/parallel/mpi.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
copying pytraj/parallel/multiprocess.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
copying pytraj/parallel/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/parallel
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/cluster
copying pytraj/cluster/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/cluster
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/visualization
copying pytraj/visualization/view.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/visualization
copying pytraj/visualization/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/visualization
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/serialize
copying pytraj/serialize/serialize.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/serialize
copying pytraj/serialize/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/serialize
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
copying pytraj/sandbox/transform.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
copying pytraj/sandbox/lazy.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
copying pytraj/sandbox/qm.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
copying pytraj/sandbox/TrajectoryBaseIterator.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
copying pytraj/sandbox/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/sandbox
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/testing
copying pytraj/testing/run_tests.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/testing
copying pytraj/testing/testing.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/testing
copying pytraj/testing/__init__.py -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/testing
copying pytraj/core/c_core.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/coordinfo.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/c_dict.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/box.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/parameter_types.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/topology_objects.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
copying pytraj/core/cpp_vector.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/core
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/cython_extra_header
copying pytraj/cython_extra_header/cpp_algorithm.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/cython_extra_header
copying pytraj/cython_extra_header/cpp_vector.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/cython_extra_header
copying pytraj/math/cpp_math.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/math
copying pytraj/datafiles/datafiles.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles
copying pytraj/topology/topology.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/topology
copying pytraj/analysis/c_action/c_action.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_action
copying pytraj/analysis/c_action/actionlist.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_action
copying pytraj/analysis/c_analysis/c_analysis.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/analysis/c_analysis
copying pytraj/datasets/c_datasetlist.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
copying pytraj/datasets/c_datasets.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datasets
copying pytraj/trajectory/frame.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory
copying pytraj/trajectory/c_traj/c_trajout.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory/c_traj
copying pytraj/trajectory/c_traj/c_trajectory.pxd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/trajectory/c_traj
copying pytraj/datafiles/ala3/Ala3.top -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/ala3
copying pytraj/datafiles/ala3/Ala3.crd -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/ala3
copying pytraj/datafiles/tz2/tz2.ortho.parm7 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
copying pytraj/datafiles/tz2/tz2.nc -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
copying pytraj/datafiles/tz2/tz2.parm7 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
copying pytraj/datafiles/tz2/tz2.ortho.nc -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/tz2
copying pytraj/datafiles/rna.pdb -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles
copying pytraj/datafiles/trpcage/trpcage.pdb.gz -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/trpcage
copying pytraj/datafiles/remd_ala2/rem.nc.003 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/remd_ala2/ala2.parm7 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/remd_ala2/rem.nc.001 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/remd_ala2/rem.nc.000 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/remd_ala2/rem.nc.002 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/remd_ala2
copying pytraj/datafiles/dpdp/DPDP.parm7 -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/dpdp
copying pytraj/datafiles/dpdp/DPDP.nc -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/datafiles/dpdp
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/progress-circle
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/progress-circle/css
copying pytraj/utils/progress-circle/css/circle.css -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/progress-circle/css
copying pytraj/utils/progress-circle/progress-circle.js -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/progress-circle
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/css
copying pytraj/utils/css/oceans16.css -> /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/lib.linux-aarch64-cpython-310/pytraj/utils/css
running build_ext
building 'pytraj.core.topology_objects' extension
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/temp.linux-aarch64-cpython-310
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/temp.linux-aarch64-cpython-310/pytraj
creating /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/temp.linux-aarch64-cpython-310/pytraj/core
/shared/gcc-9.4.0/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -O3 -isystem /home/ubuntu/miniconda3/include -fPIC -O3 -isystem /home/ubuntu/miniconda3/include -fPIC -I/home/ubuntu/src/ambermd/amber20_src/AmberTools/src/pytraj/../cpptraj/src -I/home/ubuntu/src/ambermd/amber20_src/AmberTools/src/pytraj/pytraj -I/home/ubuntu/miniconda3/include/python3.10 -c pytraj/core/topology_objects.cpp -o /home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/pytraj/CMakeFiles/python-build/temp.linux-aarch64-cpython-310/pytraj/core/topology_objects.o -O0 -ggdb -Wl,-rpath=/home/ubuntu/src/ambermd/amber20_src/build/AmberTools/src/cpptraj/src
In file included from /home/ubuntu/miniconda3/include/python3.10/Python.h:74,
from pytraj/core/topology_objects.cpp:18:
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc_6pytraj_4core_16topology_objects_Atom(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21211:7: note: in expansion of macro 'Py_REFCNT'
21211 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21213:7: note: in expansion of macro 'Py_REFCNT'
21213 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc_6pytraj_4core_16topology_objects_Residue(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21460:7: note: in expansion of macro 'Py_REFCNT'
21460 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21462:7: note: in expansion of macro 'Py_REFCNT'
21462 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc_6pytraj_4core_16topology_objects_Molecule(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21624:7: note: in expansion of macro 'Py_REFCNT'
21624 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21626:7: note: in expansion of macro 'Py_REFCNT'
21626 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc_array(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21750:7: note: in expansion of macro 'Py_REFCNT'
21750 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:21752:7: note: in expansion of macro 'Py_REFCNT'
21752 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc_memoryview(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:22061:7: note: in expansion of macro 'Py_REFCNT'
22061 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^m
pytraj/core/topology_objects.cpp:22063:7: note: in expansion of macro 'Py_REFCNT'
22063 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'void __pyx_tp_dealloc__memoryviewslice(PyObject*)':
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as increment operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:22311:7: note: in expansion of macro 'Py_REFCNT'
22311 | ++Py_REFCNT(o);
| ^~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/object.h:133:58: error: lvalue required as decrement operand
133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob))
| ^
pytraj/core/topology_objects.cpp:22313:7: note: in expansion of macro 'Py_REFCNT'
22313 | --Py_REFCNT(o);
| ^~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'PyObject* __Pyx_decode_c_string(const char*, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
pytraj/core/topology_objects.cpp:24682:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
24682 | return PyUnicode_FromUnicode(NULL, 0);
| ^
In file included from /home/ubuntu/miniconda3/include/python3.10/unicodeobject.h:1046,
from /home/ubuntu/miniconda3/include/python3.10/Python.h:83,
from pytraj/core/topology_objects.cpp:18:
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24682:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
24682 | return PyUnicode_FromUnicode(NULL, 0);
| ^
In file included from /home/ubuntu/miniconda3/include/python3.10/unicodeobject.h:1046,
from /home/ubuntu/miniconda3/include/python3.10/Python.h:83,
from pytraj/core/topology_objects.cpp:18:
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'PyObject* __Pyx_decode_c_bytes(const char*, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
pytraj/core/topology_objects.cpp:24709:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
24709 | return PyUnicode_FromUnicode(NULL, 0);
| ^
In file included from /home/ubuntu/miniconda3/include/python3.10/unicodeobject.h:1046,
from /home/ubuntu/miniconda3/include/python3.10/Python.h:83,
from pytraj/core/topology_objects.cpp:18:
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24709:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
24709 | return PyUnicode_FromUnicode(NULL, 0);
| ^
In file included from /home/ubuntu/miniconda3/include/python3.10/unicodeobject.h:1046,
from /home/ubuntu/miniconda3/include/python3.10/Python.h:83,
from pytraj/core/topology_objects.cpp:18:
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp: In function 'int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)':
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:22: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24781:52: note: in expansion of macro 'PyUnicode_GET_SIZE'
24781 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:26: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
261 | PyUnicode_WSTR_LENGTH(op) : \
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:262:52: warning: 'Py_UNICODE* PyUnicode_AsUnicode(PyObject*)' is deprecated [-Wdeprecated-declarations]
262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
| ^
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:451:75: warning: 'Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)' is deprecated [-Wdeprecated-declarations]
451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
| ^
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro 'PyUnicode_WSTR_LENGTH'
264 | PyUnicode_WSTR_LENGTH(op)))
| ^~~~~~~~~~~~~~~~~~~~~
pytraj/core/topology_objects.cpp:24797:59: note: in expansion of macro 'PyUnicode_GET_SIZE'
24797 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/miniconda3/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/shared/gcc-9.4.0/bin/gcc' failed with exit code 1
make[2]: *** [AmberTools/src/pytraj/CMakeFiles/pytraj.dir/build.make:534: AmberTools/src/pytraj/CMakeFiles/python-build/pytraj-build.stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:6574: AmberTools/src/pytraj/CMakeFiles/pytraj.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Feb 28 2023 - 06:30:03 PST