Home > OS >  Turn to the great god, about xsheel configuration server environment variable is set
Turn to the great god, about xsheel configuration server environment variable is set

Time:03-14

server system is Centos7.6, system information and as well as the installation package is as follows:
Athlib_netcdf - Intel - 4.1.3. Sh
Compiler_intel - compiler - 2017.5.239. Sh
Mathlib_fftw intelmpi - 3.3.7 _float. Sh
Mathlib_lapack - Intel - 3.4.2. Sh
Mpi_intelmpi - 2017.4.239. Sh
Mathlib_fftw intelmpi - 3.3.7 _double. Sh
Mathlib_hdf5 - Intel - 1.8.12. Sh
Mathlib_netcdf - Intel - 4.1.3. Sh
Mpi_openmpi - Intel - 2.1.2. Sh
5. net CDF library file path:
/public/software/mathlib/netcdf/Intel/4.1.3/lib (include)
6. The Matlab path:
/public/software/matlab/bin
7. Openmpi path:
MPI_HOME=/public/software//mpi/openmpi/Intel/2.1.2
The export PATH=${MPI_HOME}/bin: $PATH
Export LD_LIBRARY_PATH=${MPI_HOME}/lib: $LD_LIBRARY_PATH
Export INCLUDE=${MPI_HOME}/INCLUDE: $INCLUDE
Export MANPATH=${MPI_HOME}/share/man: $MANPATH


Problem now is that in my own accounts and vim. ~/bashrc to enter, edit the following path,
MPI_HOME=/public/software/mpi/openmpi/Intel/2.1.2
The export PATH=${MPI_HOME}/bin: $PATH
Export LD_LIBRARY_PATH=${MPI_HOME}/lib: $LD_LIBRARY_PATH
Export INCLUDE=${MPI_HOME}/INCLUDE: $INCLUDE
Export MANPATH=${MPI_HOME}/share/man: $MANPATH

HDF5_PATH=/public/software/mathlib/hdf5/Intel/1.8.12
The export PATH=${HDF5_PATH}/bin: $PATH
Export LD_LIBRARY_PATH=${HDF5_PATH}/lib: $LD_LIBRARY_PATH
Export INCLUDE=${HDF5_PATH}/INCLUDE: $INCLUDH
Export example_PATH=${HDF5_PATH}/share/hdf5_example: $example_PATH

NETCDF_PATH=/public/software/mathlib/netcdf/Intel/4.1.3
The export PATH=${NETCDF_PATH}/bin: $PATH
Export LD_LIBRARY_PATH=${NETCDF_PATH}/lib: $LD_LIBRARY_PATH
Export INCLUDE=${NETCDF_PATH}/INCLUDE: $INCLUDE
Export MANPATH=${NETCDF_PATH}/share/man: $MANPATH

LAPACK_PATH=/public/software/mathlib/lapack/Intel/3.4.2
Export LD_LIBRARY_PATH=${LAPACK_PATH}/lib: $LD_LIBRARY_PATH
Export INCLUDE=${LAPACK_PATH}/INCLUDE: $INCLUDE

and then use the source ~/bashrc two problems after the command, after the first is to use this command, again using vim and many other commands can't use, tip bash: vim: command not found... And then using the export PATH=/bin:/usr/bin: $PATH can continue to use vim;
The second problem is that the source command, tip about packages on the server so similar - bash: export: `/public/software/mathlib/netcdf/Intel/4.1.3/bin:/public/software/mathlib/hdf5/Intel/1.8.12/bin:/public/software/mpi/openmpi/Intel/2.1.2/bin: ': not a valid identifier. Hdf5 also suggest... Not a valid identifier.

After using the source, in which hdf5 hint,/usr/bin/which: no hdf5 in (/public/home/XXXXXX/software/zlib - 1.2.7/bin:/public/home/XXXXXX/software/libpng - 1.2.50/bin:/public/home/XXXXXX/software/jasper - 1.900.1/bin:/public/home/XXXXXX/software/ncl_ncarg - 6.4.0/bin:), that is to say system only search the installation location under my account, but there is no path under the search server, my own installation can which to/public/home/XXXXXX/NCL under software, zlib which command can be used, such as

Problem description is detailed, a great god, please give some advice, what is the problem, less than under the server installation package path is monitoring, thank you, small white a



CodePudding user response:

Suddenly thought of a bit, is installed on the server of the shell is sh, and my own using bash, so the environment variable is set a problem? If so, what should I do? Under their own account to install these packages should be can, it will take up system resources, there is no other way?

CodePudding user response:

In vim ~/. Profile editing also not line, depressed
  • Related