Observations Deck of Sun China University Programs Joey Guo's Blog

星期五 九月 21, 2007


Can an institute run an provincial ACM code competition on Solaris without Sun engineer on-site? The answer is yes. The Xihua University in SiChuang Province, China made it.

On Sep. 15, Xihua University in Chengdu City, SiChuan Province held the provincial ACM code competition named the First Collegiate Programming Contest in SiChuan Province. Over 170 contestants from more than 12 universities participated in the contest. The programming environment (Sun Studio, Netbeans and GCC on Solaris) behaved smoothly and stably. The contest was a big success per the report from the ACM-ICPC organizers of Xihua University.

Below are the original report (sorry in Chinese):

四川省首届大学生程序设计竞赛技术报告

西华大学ACM/ICPC竞赛组

2007.9.18

1、竞赛情况

四川省首届大学生程序设计竞赛于2007915在西华大学开幕,来自电子科大、四川大学、西南交通大学、西南科技大学等12所大学的170多名队员参赛。经过5个小时激烈角逐,川大2队获冠军,电子科大3队获亚军。整个比赛过程紧张有序,各个参赛队伍充分发挥了自己正常的水平,竞赛系统工作稳定,比赛取得了圆满成功。

2、竞赛环境

竞赛服务器有4台,操作系统是Redhat Linux AS4Team机和裁判机共约60台,操作系统是open solaris1007吉大夏季论坛版),机器配置是长城俊杰80002.6G双核CPU1G内存。打印服务器两台,操作系统是Redhat Linux FC7系统。交换机采用6台普通两层交换机配合1台三层交换机实现客户端与服务器之间的互联互通。竞赛评判系统采用PC^2v8.7

3、存在的问题(及解决方案)

  • 网络安装存在问题;
    • 网络交换机配置的问题
  • 用光盘FLASH安装方式进行安装完成后,若卸掉光驱则系统无法启动,重新安装上光驱后又能正常启动;
    • 可能是b60版本的bug,正在测试在b72版本上是否可以重现
  • 系统启动时有Windows的启动选项;
    • 光盘上的Windows分区没有删除干净
  • 有个别机器在出现登录界面后几乎被卡死不能继续操作,15分钟之后才恢复正常;
    • 个别机器,可能是硬盘问题
  • 系统每重启一次都要重新激活网卡,个别机器出现网卡不能激活的情况;
    • 重新plumb网卡即可使用
  • 有两到三台机器安装完成后重新引导而无法启动,只好又重新安装了一遍系统;
    • 第一次安装出的问题,重新安装就不存在
  • 随着比赛的持续进行,Sun Studio和NetBeans卡死的几率持续增加,有近半数的机器出现了这个问题,并且无法关闭Sun Studio,在终端中kill也不奏效,只好注销重新登录,个别机器反复出现卡死的情况;
    • 注销Java进程即可解决
  • 新版本的Solaris(首师大刘羽老师)在安装完成后运行PC^2系统,无法正常通信,故未采用。
    • Java版本的问题,JDK1.6不能支持PC^2系统,需要使用JDK1.5

 我们将这次常见问题整理成一个手册,供其他ACM举办学校使用。

 The contest scene: ABCDEFGH...

 

Using Solaris to do the contest:

solaris

Your ACM-ICPC on Solaris:

2

We crack the ACM problems:
 4

 

We are the winners:

3

 

星期一 八月 13, 2007

After co-operating with China Operating System Associations to accomplish the Sun 2007 OpenSolaris Course Training in Yantai, we collaborated with the ACM/ICPC Council China to hold the 2007 Summer Forum for Team Training in Asia/China in JiLin University. In this forum, we provided Solaris/OpenSolaris Training to 96 ACM coaches throughout China, most of them are professors of programming or algorithms.

http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/AllHands.JPG


On August 5, the 2007 Summer Forum for Team Training in Asia/China kicked off in Changchun city, JiLin province. In the 3-day forum, 96 ACM coaches shared their experience in the programming contests. As the major sponsor, Sun China ERI announced the collaboration with ACM/ICPC Council, including providing the platform sponsor for the 2007 final contests and offering the training on Solaris development environment to the coaches. All coaches attended the following Solaris/OpenSolaris Training. Every attendee was presented with the "Solaris Complete Reference" book and the OpenSolaris Starter Kits and Solaris Developer Tools DVDs.

The agenda and outline of the training are as below.

August 5, Morning:
   Opening Ceremony
   Collective Photo
   ACM/ICPC Council China, Prof. Zhou Weimin, Shanghai University
August 5, Afternoon:
   ACM Experience Exchange, Prof. Wu Wenhu, Peking University, etc.
August 6, Morning:
   Sun Technology Outreach Programs in Universities, John Jiang from ERI
August 6, Afternoon:
   Solaris 10/OpenSolaris New Features, Alex Peng from ERI
   Solaris Programming Environment, Prof. Liu Yu, Capital Normal University
August 7, Morning:
   Solaris System Programming, Prof. Liu Yu, Capital Normal University
August 7, Afternoon:
   Linux Migration to Solaris, Alex Peng from ERI
   OpenSolaris Build and Install, Alex Peng from ERI

On August 6 morning, John Jiang introduced Sun Technology Outreach Programs in Universities covering the Solaris Teaching Assistance and Campus Ambassadors Programs which interested the coaches. All the Solaris/OpenSolaris training were delivered in the Lab installed with Solaris. It's notable that we did a survey of integrating Solaris development environment into the programming curricula. After the screening of the survey results, some professors are willing to integrate Solaris and join the OpenSolaris Teaching Assistance program.

http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/JohnJiang.JPG

Alex Peng was introducing Solaris/OpenSolaris new features.
http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/AlexPeng.JPG

 Prof. Liu Yu was delivering the Solaris System Programming training.

http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/Liu.JPG

 The Lab installed with Solaris.

http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/scene.JPG

Based on the successful collaboration of delivering ACM/ICPC Contest on Solaris in Xi'An regional contest last year, we negotiated with the ACM/ICPC Council China and came to agreement to be the platform sponsor for 3 Asia regional ACM/ICPC contests during this October to November in China. That means, all these contests will conduct on Solaris development environment. We are invited to integrate the Sun technologies like Solaris, Sun Studio, Netbeans, etc. to the contests. The estimated participants for the final contests will be at least 300 teams, or 900 contestants. There will be much more participants in the selection contests for the candidates of final contests. All of them are top coders from various universities throughout China.

As Prof. Hwang, the ACM/ICPC Aisa director, stated, Solaris are popular in American Universities. It is a good chance for Solaris to bind with ACM/ICPC, the top academic programming contest in the world, which are more and more popular in China now. This promotion will surely help Solaris to get as popular in China universities as it does in US in the not long future.

Let's look forward to the ACM/ICPC contests on Solaris in China. (With Belenix Demo)

http://blogs.sun.com/JoeyGuo/resource/2007ACMSummerForum/Victory.JPG