Skip to content

Instantly share code, notes, and snippets.

@jackyliu16
Last active February 6, 2025 15:54
Show Gist options
  • Save jackyliu16/67976ad42a3adecf96289d3fe1cbb9ab to your computer and use it in GitHub Desktop.
Save jackyliu16/67976ad42a3adecf96289d3fe1cbb9ab to your computer and use it in GitHub Desktop.
天数服务器使用记录

6/2/2025

最近正在申请学位和找工作,没有时间参与活动,但是因为没法访问家里的电脑还暂时占用天数的服务器

26/01/25

简单测试了一下对于程序进行简单修改以适配国产算力平台,但是情况是没有办法正常运行。最后发现其实对应的作业有提供专门针对于国产算力的分支。

同时,在 VSC 上切换了一下目录,不知道为啥就导致了 整个实例崩溃,杨工看了下发现似乎是对应的用户被整个注销掉了,不知道什么情况。

24/01/25

最近这几天有事情一致在奔波所以说没弄,现在在分析 matmul 的算法实现部分,那个课程上的实在太快勒

19/01/25

Nix 环境变量测试失败,在服务器上运行 nix develop 时候 bzip 包出现 HTTP 403 报错,

nix log
@nix {"action":"start","fields":["https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"],"id":162371238625453,"level":4,"parent":0,"text":"downloading 'https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz'","type":101}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[0,0,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[199,199,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[199,199,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[199,199,0,0],"id":162371238625453,"type":105}
@nix {"action":"result","fields":[199,199,0,0],"id":162371238625453,"type":105}
@nix {"action":"stop","id":162371238625453}
�[31;1merror:�[0m
       … writing file '�[35;1m/nix/store/slpdqm3wlhwbkzyijjz3xpifa219ac0x-bzip2-1.0.8.tar.gz�[0m'

       �[31;1merror:�[0m unable to �[35;1mdownload�[0m '�[35;1mhttps://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz�[0m': HTTP error �[35;1m403�[0m�[35;1m�[0m

       response body:

       �[35;1m<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
       <html><head>
       <title>403 Forbidden</title>
       </head><body>
       <h1>Forbidden</h1>
       <p>You don't have permission to access this resource.</p>
       </body></html>�[0m

经过检查之后,确认与 sourceware.org 之间的连接出现异常,可能是天数服务器所在的 ip 地址端被对应开源下载站标记了。

jackyliu16@saas-de-qiysss-student54-d46f-7d549d5b57-mgm2b:~$ wget https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz   
--2025-01-18 17:48:03--  https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
Resolving sourceware.org (sourceware.org)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to sourceware.org (sourceware.org)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-01-18 17:48:05 ERROR 403: Forbidden.

18/01/25

完成了基础环境配置

16/01/25

新建了服务器,下载了对应的 cuda_code 文件并按照第二课的要求跟着做,还完成了一个简单的交叉/交错规约的简单性能测试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment