- Assume that you already have quite recent version of
gcc
- install
binutils
-
get recent version of https://ftp.gnu.org/gnu/binutils/
cd ~ mkdir src
-
copy this file to
src
directory
-
┌ Debug: Initializing CUDA after call to cuMemAlloc | |
└ @ CUDAnative ~/.julia/packages/CUDAnative/wU0tS/src/init.jl:32 | |
┌ Debug: (Re)compiling function | |
│ job = CUDAnative.CompilerJob(getfield(GPUArrays, Symbol("##23#24"))(), Tuple{CuArrays.CuKernelState,CuDeviceArray{Float32,1,CUDAnative.AS.Global},Base.Broadcast.Broadcasted{Nothing,Tuple{Base.OneTo{Int64}},typeof(CUDAnative.abs),Tuple{Base.Broadcast.Extruded{CuDeviceArray{Float32,1,CUDAnative.AS.Global},Tuple{Bool},Tuple{Int64}}}}}, v"6.1.0", true, nothing, nothing, nothing, nothing) | |
└ @ CUDAnative ~/.julia/packages/CUDAnative/wU0tS/src/compiler/driver.jl:36 | |
┌ Debug: Compiled getfield(GPUArrays, Symbol("##23#24"))() to PTX 6.1.0 for SM 6.1.0 using 11 registers. | |
│ Memory usage: 0 bytes local, 0 bytes shared, 256 bytes constant | |
└ @ CUDAnative ~/.julia/packages/CUDAnative/wU0tS/src/execution.jl:380 | |
┌ Debug: (Re)compiling function | |
│ job = CUDAnative.CompilerJob(getfield(GPUArrays, Symbol("##23#24"))(), Tuple{CuArrays.CuKernelState,CuDeviceArray{Float32,1,CUDAna |
# CentOS-Base.repo | |
# | |
# The mirror system uses the connecting IP address of the client and the | |
# update status of each mirror to pick mirrors that are updated to and | |
# geographically close to the client. You should use this for CentOS updates | |
# unless you are manually picking other mirrors. | |
# | |
# If the mirrorlist= does not work for you, as a fall back you can try the | |
# remarked out baseurl= line instead. | |
# |
program main | |
use ISO_C_BINDING | |
implicit none | |
include 'fftw3.f03' | |
real, allocatable :: test_in(:) | |
integer(8) :: plan_c2r, plan_r2c | |
integer :: n, i |
gcc
binutils
get recent version of https://ftp.gnu.org/gnu/binutils/
cd ~
mkdir src
copy this file to src
directory
$
means shell promptInstall gcc (Takes very long time, about 6 hours)
$ cd ~/src
$
means shell promptInstall gcc
$ cd ~/src
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []> | |
<Xdmf Version="3.0" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<Domain> | |
<Grid Name="Fluid" GridType="Collection" CollectionType="Temporal"> | |
<Grid Name="Fluid0000" GridType="Uniform"> | |
<Time Value="0.0" /> | |
<Topology Name="FluidTopo" TopologyType="3DCoRectMesh" Dimensions="192 192 192" /> | |
<Geometry Name="FluidGeo" GeometryType="ORIGIN_DXDYDZ"> | |
<DataItem Name="FluidOrigin" Format="XML" Dimensions="3" NumberType="Float" Precision="8"> |
#!/bin/bash | |
# inspired from travis CI julia support | |
# https://github.com/travis-ci/travis-build/blob/1b50ac7aeff53e2fed4c629920ebbb4814e71ea8/lib/travis/build/script/julia.rb | |
echo 'Installing Julia' | |
CURL_USER_AGENT="Travis-CI $(curl --version | head -n 1)" | |
JULIA_URL="https://julialangnightlies-s3.julialang.org/bin/linux/x64/julia-latest-linux64.tar.gz" | |
mkdir -p ~/julia | |
curl -A "$CURL_USER_AGENT" -k -s -L --retry 7 $JULIA_URL | tar -C ~/julia -x -z --strip-components=1 -f - |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
=== Verbose logging started: 2015-08-17 12:18:33 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\WINDOWS\system32\msiexec.exe === | |
MSI (c) (94:EC) [12:18:33:722]: Font created. Charset: Req=129, Ret=129, Font: Req=굴림, Ret=굴림 | |
MSI (c) (94:EC) [12:18:33:738]: Font created. Charset: Req=129, Ret=129, Font: Req=굴림, Ret=굴림 | |
MSI (c) (94:4C) [12:18:33:738]: Resetting cached policy values | |
MSI (c) (94:4C) [12:18:33:738]: Machine policy value 'Debug' is 0 |