./configure --prefix=/apps/common/antlr/2.7.7

make

make install


[오류 내용]

In file included from /apps/wa/build/common/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp:10:0:

/apps/wa/build/common/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp:474:30: error: ‘EOF’ was not declared in this scope

  static const int EOF_CHAR = EOF;

                              ^

/apps/wa/build/common/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp: In member function ‘bool antlr::CharScannerLiteralsLess::operator()(const string&, const string&) const’:

/apps/wa/build/common/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp:565:41: error: ‘strcasecmp’ was not declared in this scope

   return (strcasecmp(x.c_str(),y.c_str())<0);

                                         ^


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

                      >> E R R O R <<

============================================================


g++ -O2 -DNDEBUG -felide-constructors -pipe -c  -I . -I /apps/wa/build/common/antlr-2.7.7/scripts/../lib/cpp /apps/wa/build/common/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp

 

vi lib/cpp/antlr/CharScanner.hpp

[변경 전]

#include <antlr/config.hpp>


[변경 후]

#include <fstream>

#include <strings.h>  

#include <antlr/config.hpp>

#ifndef EOF

    #define EOF     std::ifstream::traits_type::eof()

#endif

Posted by 천연사이다


RedHat 5.3 OS 에 GCC 6.1 설치 과정 기록


1. binutils-2.30 install

./configure --prefix=/home01/sunlsy/tachyon2

make

make install


export PATH=/home01/sunlsy/tachyon2/bin:$PATH

export LD_LIBRARY_PATH=/home01/sunlsy/tachyon2/lib:$LD_LIBRARY_PATH


2. gmp-6.1.0

./configure --prefix=/home01/sunlsy/tachyon2

make

make install


3. mpfr-3.1.6

./configure --prefix=/home01/sunlsy/tachyon2 --with-gmp-include=/home01/sunlsy/tachyon2/include --with-gmp-lib=/home01/sunlsy/tachyon2/lib

make

make install


4. mpc-1.0.3

./configure --prefix=/home01/sunlsy/tachyon2 --with-mpfr=/home01/sunlsy/tachyon2 --with-gmp=/home01/sunlsy/tachyon2

make

make install


export PATH=/applic/common/utils/bin:$PATH


5. gcc-6.1.0

./configure --prefix=/home01/sunlsy/tachyon2  \

--enable-shared --enable-threads=posix \

--enable-clocale=gnu --enable-languages=c,c++,fortran,lto \

--with-mpc=/home01/sunlsy/tachyon2 --with-mpfr=/home01/sunlsy/tachyon2 \

--with-gmp=/home01/sunlsy/tachyon2

make

make install 



Posted by 천연사이다


플랜다스의계 홈페이지가 새로 열렸다.


아래는 daum 카페 플랜다스의계 에 올라온 공지내용을 발췌 하였다.


안녕하세요

플랜다스의 계 입니다.


준비해 오던 홈페이지가 금일 정식으로 운영을 시작하였습니다


(http://www.plandasdog.kr)  공식홈페이지 주소 입니다


플랜다스의 계의 대표 창구로서 대외적으로 활동과 공지등을 하게 될 것입니다



다음과 같이 바뀌게 되는 내용을 공지 드립니다.


1. 홈페이지에 접속을 위해  기본적으로 모두 회원가입을 하셔야 합니다.


2. 회원게시판은 정기/일시후원 및 특별회비 납부하신 회원만 사용하실 수 있습니다.


3. 기존 특별회원으로 가입 하시고 특별번호를 부여받은 분들은 홈페이지에 회원가입만 하시면 되고

    따로 특별회원 재가입을 하실 필요는 없습니다.


4. 다스모금액과 인원등은 홈페이지를 통해 공지하고, 카페에는 집계를 공표하지 않겠습니다.


5. 후원 관련하여 영상과 링크들도 홈페이지로 연동하였습니다.



감사합니다 





Posted by 천연사이다

29일 부터 IOS 11.3 업데이트 시작.

아이폰 SE 기준 699.5MB 


MAC OS High Sierra 10.13.4 버전 도 업데이트 됨^^

Posted by 천연사이다
1987영화 google play 에 업데이트 
영화 강추 합니다.


Posted by 천연사이다

토르 : 라그나로크 
YouTube 에 새로 올라오자 마자 구매해서 보기
재미 있내 ~~ ㅎㅎㅎ



'소소한나의 일상 > 영화감상평' 카테고리의 다른 글

[영화감상] 1987  (0) 2018.02.07
[영화감상] 아이캔스피크  (0) 2017.11.17
Posted by 천연사이다


[오류 내용]

error: more than one instance of overloaded function "MPI::Init_thread" has "C" linkage


[해결 방법]

"-DMPICH_SKIP_MPICXX" 를 포함 시켜서 컴파일

'나의일 관련 > Linux' 카테고리의 다른 글

antlr-2.7.7 설치 기록  (0) 2019.01.08
gcc-6.1.0 설치 기록  (0) 2018.07.19
오류내용 : undefined reference to `tgetstr'  (0) 2018.02.01
OpenFOAM 4.1 설치 기록  (0) 2018.02.01
OpenFOAM 3.0.0 설치 기록  (0) 2017.11.13
Posted by 천연사이다

[오류 내용]

/usr/lib/../lib64/libreadline.so: undefined reference to `tgetstr'

/usr/lib/../lib64/libreadline.so: undefined reference to `tputs'

/usr/lib/../lib64/libreadline.so: undefined reference to `BC'

/usr/lib/../lib64/libreadline.so: undefined reference to `tgetent'

/usr/lib/../lib64/libreadline.so: undefined reference to `tgetflag'

/usr/lib/../lib64/libreadline.so: undefined reference to `tgoto'

/usr/lib/../lib64/libreadline.so: undefined reference to `UP'

/usr/lib/../lib64/libreadline.so: undefined reference to `tgetnum'

/usr/lib/../lib64/libreadline.so: undefined reference to `PC'


[해결 방법]

컴파일 시 "-lreadline" 를 "-lreadline -lcurses" 로 변경해서 사용

'나의일 관련 > Linux' 카테고리의 다른 글

gcc-6.1.0 설치 기록  (0) 2018.07.19
mpich 또는 mvapich2 사용 시 오류  (0) 2018.02.01
OpenFOAM 4.1 설치 기록  (0) 2018.02.01
OpenFOAM 3.0.0 설치 기록  (0) 2017.11.13
CUDA SDK 8.0 관련 이슈 기록  (0) 2017.10.31
Posted by 천연사이다

OpenFOAM 4.1 source 버전으로 설치 하는 방법에 대하여 소개 한다.


1. 설치 환경

 구분

내용 

 OS

RHEL 5.3 

 기타

intel-2015 컴파일러 사용

mvapich2-2.1 MPI 사용

python-2.7.12 사용.


2. 환경 설정 방법

[ 환경 설정 ]

$ export PATH=/applic/compilers/gcc/4.9.3/bin:/applic/common/utils/bin:PATH

$ export LD_LIBRARY_PATH=/applic/compilers/gcc/4.9.3/lib64:$LD_LIBRARY_PATH

$ module load compiler/intel-2015 mpi/mvapich2-2.1 applic/python-2.7.12

$ export PATH=$PATH:/applic/wa/QT/4.7.3/bin

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/applic/wa/QT/4.7.3/lib


3. 설치

 설치 과정 소개는 tar 를 이용한 압축 해제 방법과 설정 방법등 진행 절차를 위주로 설명하고, 소스 파일 다운로드 등은 생략한다. 

  설치과정

$ mkdir OpenFOAM

$ cd OpenFOAM


$ sed -i -e 's/\(boost_version=\)boost-system/\1boost_1_55_0/' OpenFOAM-4.1/etc/config.sh/CGAL

$ sed -i -e 's/\(cgal_version=\)cgal-system/\1CGAL-4.8/' OpenFOAM-4.1/etc/config.sh/CGAL


$ vi OpenFOAM-4.1/etc/bashrc

- - - (1) 수정 사항 참고 - - -

$ export MPI_ROOT=/applic/compilers/intel/2015/mpi/mvapich2/2.1

$ export MPI_ARCH_FLAGS="-DMPICH_SKIP_MPICXX"

$ export MPI_ARCH_INC="-isystem $MPI_ROOT/include"

$ export MPI_ARCH_LIBS="-L$MPI_ROOT/lib -lmpi"


$ vi OpenFOAM-4.1/applications/utilities/mesh/manipulation/setSet/Allwmake

- - - (2) 수정 사항 참고 - - -


$ vi OpenFOAM-4.1/etc/config.sh/settings 

- - - (3) 수정 사항 참고 - - -


$ cd $WM_THIRD_PARTY_DIR

$ tar xvjf gmp-6.1.0.tar.bz2 

$ cd gmp-6.1.0

$ ./configure --prefix=$WM_THIRD_PARTY_DIR/platforms/${WM_ARCH}${WM_COMPILER}/gmp-6.1.0 \

--enable-cxx CC=icc CXX=icpc CFLAGS="-O3 -fPIC" CXXFLAGS="-O3 -fPIC" 

$ make

$ make install

$ cd ..

$ tar xvzf mpfr-3.1.3.tar.gz

$ cd mpfr-3.1.3

$ ./configure --prefix=$WM_THIRD_PARTY_DIR/platforms/${WM_ARCH}${WM_COMPILER}/mpfr-3.1.3 \

CC=icc CXX=icpc CFLAGS="-O3 -fPIC" CXXFLAGS="-O3 -fPIC" --disable-thread-safe \

--with-gmp=$WM_THIRD_PARTY_DIR/platforms/${WM_ARCH}${WM_COMPILER}/gmp-6.1.0 

$ make

$ make install

$ cd ..

$ tar xvzf boost_1_55_0.tar.gz

$ cd boost_1_55_0

$ ./bootstrap.sh --prefix=$WM_THIRD_PARTY_DIR/platforms/${WM_ARCH}${WM_COMPILER}/boost_1_55_0

$ ./b2 install --prefix=$WM_THIRD_PARTY_DIR/platforms/${WM_ARCH}${WM_COMPILER}/boost_1_55_0

$ cd ..

$ ./makeCGAL gmp-6.1.0 mpfr-3.1.3 >& log.makeCFAL 

$ wmRefresh

$ cd $WM_PROJECT_DIR

$ ./Allwmake -j 4 >& log.make 


(1) OpenFOAM-4.1/etc/bashrc 파일 수정
 예제 설치 경로는 "/scratch2/sunlsy/install_test/tachyon2" 이다.
 설치 환경에 맞게 수정
[변경 전]

[ $BASH_SOURCE ] && \

export FOAM_INST_DIR=$(cd ${BASH_SOURCE%/*/*/*} && pwd -P) || \

export FOAM_INST_DIR=$HOME/$WM_PROJECT

export WM_COMPILER=Gcc

export WM_MPLIB=SYSTEMOPENMPI

[변경 후]

export FOAM_INST_DIR=/scratch2/sunlsy/install_test/tachyon2/$WM_PROJECT

export WM_COMPILER=Icc

export WM_MPLIB=SYSTEMMPI


(2) OpenFOAM-4.1/applications/utilities/mesh/manipulation/setSet/Allwmake 파일 수정

[변경 전]

export LINK_FLAGS="-lreadline"

[변경 후]

export LINK_FLAGS="-lreadline -lcurses"


(3) OpenFOAM-4.1/etc/config.sh/settings 파일 수정

[변경 전]

64)

WM_ARCH=linux64

    export WM_COMPILER_LIB_ARCH=64

    export WM_CC='gcc'

    export WM_CXX='g++'

    export WM_CFLAGS='-m64 -fPIC'

    export WM_CXXFLAGS='-m64 -fPIC -std=c++0x'

    export WM_LDFLAGS='-m64'

[변경 후]

64)

    WM_ARCH=linux64

    export WM_COMPILER_LIB_ARCH=64

    export WM_CC='icc'

    export WM_CXX='icpc'

    export WM_CFLAGS='-O3 -m64 -fPIC'

    export WM_CXXFLAGS='-O3 -m64 -fPIC -std=c++0x'

    export WM_LDFLAGS='-m64'


4. 동작 확인

mkdir -p $FOAM_RUN 

$ run 

$ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily ./ 

$ cd pitzDaily 

$ blockMesh 

$ simpleFoam 






Posted by 천연사이다


기아자동차 순정 내비게이션 2018년 1월 업데이트 

- 안내 페이지 (http://red.kia.com/kr/view/qmgt/navi/qmgt_navi_guide.do)


SW 업데이트가 포함되어 니로 기준으로 10분정도 업데이트 진행한것 같다.

오창옥산 고속도로는 2018년 4월 반영 예정 이라고 하니 참고 ^^


'소소한나의 일상 > 새로나온거' 카테고리의 다른 글

플랜다스의계 홈페이지  (0) 2018.05.10
[애플] IOS 11.3 업데이트  (0) 2018.03.30
[AppleTV] 한국 출시?  (0) 2017.12.13
[애플] IOS 11.2 버전 업데이트  (0) 2017.12.04
플랜 다스의 계  (0) 2017.12.01
Posted by 천연사이다
이전버튼 1 2 3 4 5 6 7 이전버튼

블로그 이미지
공부 기록
천연사이다

공지사항

Yesterday
Today
Total

달력

 « |  » 2025.4
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함